mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[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>
This commit is contained in:
parent
3e9e3dbe0f
commit
cb36d63457
3 changed files with 2 additions and 8 deletions
|
@ -92,7 +92,6 @@ struct nfs4_delegation {
|
|||
/* client delegation callback info */
|
||||
struct nfs4_callback {
|
||||
/* SETCLIENTID info */
|
||||
u32 cb_parsed; /* addr parsed */
|
||||
u32 cb_addr;
|
||||
unsigned short cb_port;
|
||||
u32 cb_prog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue