LOCKD: Make nlmsvc_traverse_shares return void

The nlmsvc_traverse_shares return value is always zero, hence useless.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
J. Bruce Fields 2006-03-20 23:24:25 -05:00 committed by Trond Myklebust
parent f3ee439f43
commit 5f12191bc0
3 changed files with 3 additions and 7 deletions

View file

@ -225,9 +225,7 @@ nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, int action)
return 1;
} else {
nlmsvc_traverse_blocks(host, file, action);
if (nlmsvc_traverse_shares(host, file, action))
return 1;
nlmsvc_traverse_shares(host, file, action);
}
return nlm_traverse_locks(host, file, action);
}