nfsd4: split preprocess_seqid, cleanup

Move most of this into helper functions.  Also move the non-CONFIRM case
into caller, providing a helper function for that purpose.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
J. Bruce Fields
2011-09-06 15:19:46 -04:00
parent 4d71ab8751
commit c0a5d93efb
2 changed files with 45 additions and 43 deletions

View File

@ -463,7 +463,6 @@ struct nfs4_stateid {
};
/* flags for preprocess_seqid_op() */
#define CONFIRM 0x00000002
#define OPEN_STATE 0x00000004
#define LOCK_STATE 0x00000008
#define RD_STATE 0x00000010