NFSv4: don't put ACCESS in OPEN compound if O_EXCL
authorWeston Andros Adamson <dros@netapp.com>
Tue, 2 Oct 2012 21:49:52 +0000 (14:49 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 21:56:19 +0000 (14:56 -0700)
Don't put an ACCESS op in OPEN compound if O_EXCL, because ACCESS
will return permission denied for all bits until close.

Fixes a regression due to commit 6168f62c (NFSv4: Add ACCESS operation to
OPEN compound)

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found