Commit 718deb6b authored by Al Viro's avatar Al Viro

Fix breakage in shmem.c

	error = 0;
	if (error)
with nothing is not quite an equivalent transformation ;-)
Signed-off-by: default avatarAl Viro <>
parent bea4c899
......@@ -1830,6 +1830,8 @@ shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev)
return error;
error = 0;
if (dir->i_mode & S_ISGID) {
inode->i_gid = dir->i_gid;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment