]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv3: Fix return value of nfs3_proc_setacls
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 2 Feb 2014 19:36:42 +0000 (14:36 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 3 Feb 2014 18:14:23 +0000 (13:14 -0500)
commit9f6effa7df20c57d2e33eaec1e3cd0104bd2e5dd
tree2e0bfe6f30c6763b23e93bec290ac4674ec95a7c
parentf5db1562388c13c68cb33fa0ec88d683c2b6039b
NFSv3: Fix return value of nfs3_proc_setacls

nfs3_proc_setacls is used internally by the NFSv3 create operations
to set the acl after the file has been created. If the operation
fails because the server doesn't support acls, then it must return '0',
not -EOPNOTSUPP.

Reported-by: Russell King <linux@arm.linux.org.uk>
Link: http://lkml.kernel.org/r/20140201010328.GI15937@n2100.arm.linux.org.uk
Cc: Christoph Hellwig <hch@lst.de>
Tested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs3acl.c