patch-2.4.0-test11 linux/fs/nfsd/vfs.c
Next file: linux/fs/ntfs/fs.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Nov 7 10:43:11 2000
- Orig file:
v2.4.0-test10/linux/fs/nfsd/vfs.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -1538,6 +1538,8 @@
inode->i_uid == current->fsuid)
return 0;
+ acc &= ~ MAY_OWNER_OVERRIDE; /* This bit is no longer needed,
+ and gets in the way later */
err = permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)