diff options
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/clntproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index 50dbb67ae0c4..271e2165fff6 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c | |||
@@ -100,7 +100,7 @@ static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_ | |||
100 | res = __nlm_find_lockowner(host, owner); | 100 | res = __nlm_find_lockowner(host, owner); |
101 | if (res == NULL) { | 101 | if (res == NULL) { |
102 | spin_unlock(&host->h_lock); | 102 | spin_unlock(&host->h_lock); |
103 | new = (struct nlm_lockowner *)kmalloc(sizeof(*new), GFP_KERNEL); | 103 | new = kmalloc(sizeof(*new), GFP_KERNEL); |
104 | spin_lock(&host->h_lock); | 104 | spin_lock(&host->h_lock); |
105 | res = __nlm_find_lockowner(host, owner); | 105 | res = __nlm_find_lockowner(host, owner); |
106 | if (res == NULL && new != NULL) { | 106 | if (res == NULL && new != NULL) { |