nfsd4: simplify distinguishing lock & open stateid's
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 19:25:46 +0000 (15:25 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 21:55:59 +0000 (17:55 -0400)
commit5fa0bbb4ee5481a6b3e83c4968142ca433d71914
treec49d35667fdbb86979b92f0c51c1492b45c47332
parentc2d8eb7ac645e1baba7205cb2631e2f21db3d6a9
nfsd4: simplify distinguishing lock & open stateid's

The trick free_stateid is using is a little cheesy, and we'll have more
uses for this field later.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h