Skip to content

Commit

Permalink
[PATCH] knfsd: nfsd4: nfs4_check_open_reclaim cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Jun 24, 2005
1 parent 5ba266d commit dfc8356
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -3155,11 +3155,7 @@ nfs4_find_reclaim_client(clientid_t *clid)
int
nfs4_check_open_reclaim(clientid_t *clid)
{
struct nfs4_client_reclaim *crp;

if ((crp = nfs4_find_reclaim_client(clid)) == NULL)
return nfserr_reclaim_bad;
return nfs_ok;
return nfs4_find_reclaim_client(clid) ? nfs_ok : nfserr_reclaim_bad;
}


Expand Down

0 comments on commit dfc8356

Please sign in to comment.