patch-2.1.15 linux/fs/ext2/file.c
Next file: linux/fs/namei.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Dec 8 21:22:48 1996
- Orig file:
v2.1.14/linux/fs/ext2/file.c
- Orig date:
Tue Nov 12 15:56:11 1996
diff -u --recursive --new-file v2.1.14/linux/fs/ext2/file.c linux/fs/ext2/file.c
@@ -120,7 +120,7 @@
/* was any of the uid bits set? */
mode &= inode->i_mode;
- if (mode && suser()) {
+ if (mode && !suser()) {
inode->i_mode &= ~mode;
inode->i_dirt = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov