diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2006-03-20 23:24:25 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 23:24:25 -0500 |
commit | 5f12191bc000ea31970339a5f54c11087506711c (patch) | |
tree | 073d24a7ccd22ddf9a3f16b488ef1d2f989842b9 /fs/lockd/svcsubs.c | |
parent | f3ee439f43381e45b191cf721b4a51d41f33301f (diff) |
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>
Diffstat (limited to 'fs/lockd/svcsubs.c')
-rw-r--r-- | fs/lockd/svcsubs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 2043011a1a2d..c7a6e3ae44d6 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c | |||
@@ -225,9 +225,7 @@ nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, int action) | |||
225 | return 1; | 225 | return 1; |
226 | } else { | 226 | } else { |
227 | nlmsvc_traverse_blocks(host, file, action); | 227 | nlmsvc_traverse_blocks(host, file, action); |
228 | 228 | nlmsvc_traverse_shares(host, file, action); | |
229 | if (nlmsvc_traverse_shares(host, file, action)) | ||
230 | return 1; | ||
231 | } | 229 | } |
232 | return nlm_traverse_locks(host, file, action); | 230 | return nlm_traverse_locks(host, file, action); |
233 | } | 231 | } |