diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-17 03:35:36 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-17 03:48:48 +0300 |
commit | 718deb6b61e34c200c1f2b706176d9aac334cb2d (patch) | |
tree | fdf37190a8663d507bc740a6fa21437c6c22e611 /mm | |
parent | bea4c899f2b5fad80099aea979780ef19f9b1987 (diff) | |
download | linux-718deb6b61e34c200c1f2b706176d9aac334cb2d.tar.xz |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index f8485062f3ba..eef4ebea5158 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -1830,6 +1830,8 @@ shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) iput(inode); return error; } +#else + error = 0; #endif if (dir->i_mode & S_ISGID) { inode->i_gid = dir->i_gid; |