diff options
author | Jeff Layton | 2014-05-30 09:09:28 -0400 |
---|---|---|
committer | J. Bruce Fields | 2014-06-04 15:42:02 -0400 |
commit | ba5378b66f5eb20e464796c5b088c0961fb5f618 (patch) | |
tree | 8fafd0f7135dbfdc824f3e1ecd9528199a2a6ad4 /drivers/acpi/blacklist.c | |
parent | 931ee56c67573eb4e51c8a4e78598d965b8b059e (diff) |
nfsd: fix setting of NFS4_OO_CONFIRMED in nfsd4_open
In the NFS4_OPEN_CLAIM_PREVIOUS case, we should only mark it confirmed
if the nfs4_check_open_reclaim check succeeds.
In the NFS4_OPEN_CLAIM_DELEG_PREV_FH and NFS4_OPEN_CLAIM_DELEGATE_PREV
cases, I see no point in declaring the openowner confirmed when the
operation is going to fail anyway, and doing so might allow the client
to game things such that it wouldn't need to confirm a subsequent open
with the same owner.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'drivers/acpi/blacklist.c')
0 files changed, 0 insertions, 0 deletions