summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-09-26 20:53:00 +0400
committerJ. Bruce Fields <bfields@redhat.com>2011-09-27 01:35:27 +0400
commit36279ac10c3d69372af875f1affafd375db687a9 (patch)
tree64b9fee1c1795a80f2ca9bc7730fa3b2eec0a2d9 /fs/nfsd/xdr4.h
parent6136d2b409652b064b2da6d43d5c47cbd1d2cc14 (diff)
downloadlinux-36279ac10c3d69372af875f1affafd375db687a9.tar.xz
nfsd4: assume test_stateid always has session
Test_stateid is 4.1-only and only allowed after a sequence operation, so this check is unnecessary. Cc: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index a767b57b8208..c9012149637c 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -343,7 +343,6 @@ struct nfsd4_saved_compoundargs {
struct nfsd4_test_stateid {
__be32 ts_num_ids;
- bool ts_has_session;
struct nfsd4_compoundargs *ts_saved_args;
struct nfsd4_saved_compoundargs ts_savedp;
};