diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2006-10-17 00:10:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-17 08:18:46 -0700 |
commit | 9801d8a39cfe6c34f39f9552a246a6bd002e735e (patch) | |
tree | 1bc534709dc02d308532f5285b9f376ca2f2ec31 /fs/nfsd/stats.c | |
parent | dc730e173785e29b297aa605786c94adaffe2544 (diff) |
[PATCH] knfsd: nfsd4: fix open permission checking
We weren't actually checking for SHARE_ACCESS_WRITE, with the result that the
owner could open a non-writeable file for write!
Continue to allow DENY_WRITE only with write access.
Thanks to Jim Rees for reporting the bug.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/stats.c')
0 files changed, 0 insertions, 0 deletions