nfsd41: expand solo sequence check
authorAndy Adamson <andros@netapp.com>
Thu, 27 Aug 2009 16:07:40 +0000 (12:07 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 28 Aug 2009 16:20:15 +0000 (12:20 -0400)
commit468de9e54a900559b55aa939a4daeaea1915e572
treefa9f57f48f7f136fc5e4d821454ffb47ec0c22f6
parentd8d0b85b11476ce59684ad2998e91a522df518a0
nfsd41: expand solo sequence check

Compounds consisting of only a sequence operation don't need any
additional caching beyond the sequence information we store in the slot
entry.  Fix nfsd4_is_solo_sequence to identify this case correctly.

The additional check for a failed sequence in nfsd4_store_cache_entry()
is redundant, since the nfsd4_is_solo_sequence call lower down catches
this case.

The final ce_cachethis set in nfsd4_sequence is also redundant.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c
include/linux/nfsd/xdr4.h