Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92821
b: refs/heads/master
c: 93245d1
h: refs/heads/master
i:
  92819: 4a2c2a1
v: v3
  • Loading branch information
Harvey Harrison authored and J. Bruce Fields committed Apr 23, 2008
1 parent 7cd6a7d commit 23f2fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: f2b0dee2ec8d562ad9ced2b7481be72d356c6cfc
refs/heads/master: 93245d11fcaccdebccabe86a2b92db524f82d8b4
3 changes: 2 additions & 1 deletion trunk/fs/lockd/svcshare.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
struct nlm_share *share, **shpp;
struct xdr_netobj *oh = &argp->lock.oh;

for (shpp = &file->f_shares; (share = *shpp) != 0; shpp = &share->s_next) {
for (shpp = &file->f_shares; (share = *shpp) != NULL;
shpp = &share->s_next) {
if (share->s_host == host && nlm_cmp_owner(share, oh)) {
*shpp = share->s_next;
kfree(share);
Expand Down

0 comments on commit 23f2fa5

Please sign in to comment.