Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23955
b: refs/heads/master
c: 5f12191
h: refs/heads/master
i:
  23953: e23e75a
  23951: a3ae559
v: v3
  • Loading branch information
J. Bruce Fields authored and Trond Myklebust committed Mar 21, 2006
1 parent 6b6ea86 commit edf0b34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3ee439f43381e45b191cf721b4a51d41f33301f
refs/heads/master: 5f12191bc000ea31970339a5f54c11087506711c
4 changes: 1 addition & 3 deletions trunk/fs/lockd/svcshare.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
* Traverse all shares for a given file (and host).
* NLM_ACT_CHECK is handled by nlmsvc_inspect_file.
*/
int
void
nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
{
struct nlm_share *share, **shpp;
Expand All @@ -106,6 +106,4 @@ nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
}
shpp = &share->s_next;
}

return 0;
}
4 changes: 1 addition & 3 deletions trunk/fs/lockd/svcsubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/lockd/share.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ u32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
struct nlm_args *);
u32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
struct nlm_args *);
int nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int);
void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int);

#endif /* LINUX_LOCKD_SHARE_H */

0 comments on commit edf0b34

Please sign in to comment.