Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104129
b: refs/heads/master
c: 560de0e
h: refs/heads/master
i:
  104127: aa3c63a
v: v3
  • Loading branch information
J. Bruce Fields committed Jul 15, 2008
1 parent 4de1c9d commit 4e4ed3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d7bbbbacc5202eaabbc232681cc325b22a73eeb
refs/heads/master: 560de0e65904db392e1c443c4bf5ee750573336b
5 changes: 2 additions & 3 deletions trunk/fs/lockd/svclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host,
struct nlm_block *block;
struct nlm_rqst *call = NULL;

nlm_get_host(host);
call = nlm_alloc_call(host);
if (call == NULL)
return NULL;
Expand Down Expand Up @@ -380,8 +381,7 @@ nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file,
*/
block = nlmsvc_lookup_block(file, lock);
if (block == NULL) {
block = nlmsvc_create_block(rqstp, nlm_get_host(host), file,
lock, cookie);
block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
ret = nlm_lck_denied_nolocks;
if (block == NULL)
goto out;
Expand Down Expand Up @@ -476,7 +476,6 @@ nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file,

if (conf == NULL)
return nlm_granted;
nlm_get_host(host);
block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
if (block == NULL) {
kfree(conf);
Expand Down

0 comments on commit 4e4ed3d

Please sign in to comment.