From: J. Bruce Fields Date: Tue, 17 Oct 2006 07:10:14 +0000 (-0700) Subject: [PATCH] knfsd: nfsd4: fix open permission checking X-Git-Tag: v2.6.19-rc3~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9801d8a39cfe6c34f39f9552a246a6bd002e735e;p=pandora-kernel.git [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 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed