diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-24 01:03:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:30 -0400 |
commit | dfc8356570b6fcb4035c7d916ade5bbbe6c3b50a (patch) | |
tree | 97ee8450e6f0344cf484dfc70f9803fb85080598 | |
parent | 5ba266d6323e957588712f6a7d31252cd6b797bb (diff) |
[PATCH] knfsd: nfsd4: nfs4_check_open_reclaim cleanup
Minor cleanup.
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>
-rw-r--r-- | fs/nfsd/nfs4state.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 6ba428afa433..2a5f00b0ee99 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -3155,11 +3155,7 @@ nfs4_find_reclaim_client(clientid_t *clid) | |||
3155 | int | 3155 | int |
3156 | nfs4_check_open_reclaim(clientid_t *clid) | 3156 | nfs4_check_open_reclaim(clientid_t *clid) |
3157 | { | 3157 | { |
3158 | struct nfs4_client_reclaim *crp; | 3158 | return nfs4_find_reclaim_client(clid) ? nfs_ok : nfserr_reclaim_bad; |
3159 | |||
3160 | if ((crp = nfs4_find_reclaim_client(clid)) == NULL) | ||
3161 | return nfserr_reclaim_bad; | ||
3162 | return nfs_ok; | ||
3163 | } | 3159 | } |
3164 | 3160 | ||
3165 | 3161 | ||