projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] knfsd: lockd: introduce nsm_handle
[cascardo/linux.git]
/
fs
/
lockd
/
clntlock.c
diff --git
a/fs/lockd/clntlock.c
b/fs/lockd/clntlock.c
index
87e1d03
..
54e63dd
100644
(file)
--- a/
fs/lockd/clntlock.c
+++ b/
fs/lockd/clntlock.c
@@
-150,7
+150,8
@@
u32 nlmclnt_grant(const struct sockaddr_in *addr, const struct nlm_lock *lock)
static void nlmclnt_prepare_reclaim(struct nlm_host *host)
{
down_write(&host->h_rwsem);
- host->h_monitored = 0;
+ if (host->h_nsmhandle)
+ host->h_nsmhandle->sm_monitored = 0;
host->h_state++;
host->h_nextrebind = 0;
nlm_rebind_host(host);