commit | 718deb6b61e34c200c1f2b706176d9aac334cb2d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 16 19:35:36 2009 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 16 19:48:48 2009 -0500 |
tree | fdf37190a8663d507bc740a6fa21437c6c22e611 | |
parent | bea4c899f2b5fad80099aea979780ef19f9b1987 [diff] |
Fix breakage in shmem.c Replacing error = 0; if (error) op with nothing is not quite an equivalent transformation ;-) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/mm/shmem.c b/mm/shmem.c index f848506..eef4ebe 100644 --- a/mm/shmem.c +++ b/mm/shmem.c
@@ -1830,6 +1830,8 @@ iput(inode); return error; } +#else + error = 0; #endif if (dir->i_mode & S_ISGID) { inode->i_gid = dir->i_gid;