Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299905
b: refs/heads/master
c: 71dfc5f
h: refs/heads/master
i:
  299903: 908d2c3
v: v3
  • Loading branch information
Stanislav Kinsbursky authored and Trond Myklebust committed Apr 28, 2012
1 parent 259d153 commit f6ec935
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e245d4250d0326cfcf7c816a2081b6ab2ea810be
refs/heads/master: 71dfc5fa5160bb73752f0731539404569a77faca
4 changes: 4 additions & 0 deletions trunk/fs/nfs/idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,16 @@ static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event,
struct nfs_client *clp;
int error = 0;

if (!try_module_get(THIS_MODULE))
return 0;

while ((clp = nfs_get_client_for_event(sb->s_fs_info, event))) {
error = __rpc_pipefs_event(clp, event, sb);
nfs_put_client(clp);
if (error)
break;
}
module_put(THIS_MODULE);
return error;
}

Expand Down

0 comments on commit f6ec935

Please sign in to comment.