patch-2.1.92 linux/fs/ext2/inode.c
Next file: linux/fs/ext2/ioctl.c
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Apr 1 16:26:34 1998
- Orig file:
v2.1.91/linux/fs/ext2/inode.c
- Orig date:
Thu Feb 12 20:56:12 1998
diff -u --recursive --new-file v2.1.91/linux/fs/ext2/inode.c linux/fs/ext2/inode.c
@@ -648,7 +648,7 @@
(ATTR_FLAG_APPEND | ATTR_FLAG_IMMUTABLE)) ^
(inode->u.ext2_i.i_flags &
(EXT2_APPEND_FL | EXT2_IMMUTABLE_FL))) {
- if (securelevel > 0 || !fsuser())
+ if (!fsuser())
goto out;
} else if ((current->fsuid != inode->i_uid) && !fsuser())
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov