diff --git a/[refs] b/[refs] index 4c9a3b2e32e8..43ceab2eb95f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e245d4250d0326cfcf7c816a2081b6ab2ea810be +refs/heads/master: 71dfc5fa5160bb73752f0731539404569a77faca diff --git a/trunk/fs/nfs/idmap.c b/trunk/fs/nfs/idmap.c index b7f348bb618b..ba3019f5934c 100644 --- a/trunk/fs/nfs/idmap.c +++ b/trunk/fs/nfs/idmap.c @@ -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; }