nfsd4: handle seqid-mutating open errors from xdr decoding
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Feb 2013 20:51:49 +0000 (12:51 -0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 15:47:53 +0000 (11:47 -0400)
commit9d313b17db965ae42137c5d4dd3063037544c4cd
treeeaf39419bb8dcf2775570aa14ca12552655a69f1
parentb600de7ab9288eaf6126561203e0ae340828ab44
nfsd4: handle seqid-mutating open errors from xdr decoding

If a client sets an owner (or group_owner or acl) attribute on open for
create, and the mapping of that owner to an id fails, then we return
BAD_OWNER.  But BAD_OWNER is a seqid-mutating error, so we can't
shortcut the open processing that case: we have to at least look up the
owner so we can find the seqid to bump.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h
This page took 0.029394 seconds and 5 git commands to generate.