From: Andreas Gruenbacher Date: Tue, 20 Dec 2005 15:29:05 +0000 (+0100) Subject: [PATCH] nfsd: check for read-only exports before setting acls X-Git-Tag: v2.6.15-rc7~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7964c3d88668cef57e1a99861477168eeff4743;p=pandora-kernel.git [PATCH] nfsd: check for read-only exports before setting acls We must check for MAY_SATTR before setting acls, which includes checking for read-only exports: the lower-level setxattr operation that eventually sets the acl cannot check export-level restrictions. Bug reported by Martin Walter . Signed-off-by: Andreas Gruenbacher Acked-by: Trond Myklebust Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed