diff options
author | J. Bruce Fields <bfields@redhat.com> | 2021-08-23 12:01:18 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-08-23 12:56:03 -0400 |
commit | 2dc6f19e4f438d4c14987cb17aee38aaf7304e7f (patch) | |
tree | 7ed372f1ec169f16620988beace38b105390d8bf /fs/lockd/svc4proc.c | |
parent | 7de875b231edb807387a81cde288aa9e1015ef9e (diff) | |
download | linux-2dc6f19e4f438d4c14987cb17aee38aaf7304e7f.tar.gz |
nlm: minor nlm_lookup_file argument change
It'll come in handy to get the whole nlm_lock.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd/svc4proc.c')
-rw-r--r-- | fs/lockd/svc4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c index 4c10fb5138f1..bc496bbd696b 100644 --- a/fs/lockd/svc4proc.c +++ b/fs/lockd/svc4proc.c @@ -40,7 +40,8 @@ nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, /* Obtain file pointer. Not used by FREE_ALL call. */ if (filp != NULL) { - if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0) + error = nlm_lookup_file(rqstp, &file, lock); + if (error) goto no_locks; *filp = file; |