aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 01:04:23 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 03:06:35 -0400
commitcb36d6345752fa24827044c68e15f6708a40d9f6 (patch)
treeadc6b7201525c87685815037cfa5fd1c248f6e95 /include/linux/nfsd
parent3e9e3dbe0fe36c824ce2c5d7b05997c87a64bbdc (diff)
[PATCH] knfsd: nfsd4: remove cb_parsed
The cb_parsed field is only used by probe_callback, to determine whether the callback information has been filled in by setclientid. But there is no way that probe_callback() can be called without that having already happened, so that check is superfluous, as is cb_parsed. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r--include/linux/nfsd/state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index f4f27b76ee64..83d29ec03a58 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -92,7 +92,6 @@ struct nfs4_delegation {
92/* client delegation callback info */ 92/* client delegation callback info */
93struct nfs4_callback { 93struct nfs4_callback {
94 /* SETCLIENTID info */ 94 /* SETCLIENTID info */
95 u32 cb_parsed; /* addr parsed */
96 u32 cb_addr; 95 u32 cb_addr;
97 unsigned short cb_port; 96 unsigned short cb_port;
98 u32 cb_prog; 97 u32 cb_prog;