From: J. Bruce Fields Date: Thu, 9 Nov 2006 01:44:40 +0000 (-0800) Subject: [PATCH] nfsd4: fix open-create permissions X-Git-Tag: v2.6.19-rc6~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ac95c5569d7a60ab5db6c1ccec56c12b3ebcb5;p=pandora-kernel.git [PATCH] nfsd4: fix open-create permissions In the case where an open creates the file, we shouldn't be rechecking permissions to open the file; the open succeeds regardless of what the new file's mode bits say. This patch fixes the problem, but only by introducing yet another parameter to nfsd_create_v3. This is ugly. This will be fixed by later patches. Signed-off-by: J. Bruce Fields Acked-by: Neil Brown Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed