projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NLM: Fix a memory leak in nlmsvc_testlock
[cascardo/linux.git]
/
fs
/
lockd
/
clntlock.c
diff --git
a/fs/lockd/clntlock.c
b/fs/lockd/clntlock.c
index
f4d45d4
..
d070b18
100644
(file)
--- a/
fs/lockd/clntlock.c
+++ b/
fs/lockd/clntlock.c
@@
-153,7
+153,7
@@
nlmclnt_recovery(struct nlm_host *host)
if (!host->h_reclaiming++) {
nlm_get_host(host);
__module_get(THIS_MODULE);
- if (kernel_thread(reclaimer, host, CLONE_
KERNEL
) < 0)
+ if (kernel_thread(reclaimer, host, CLONE_
FS | CLONE_FILES
) < 0)
module_put(THIS_MODULE);
}
}