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/svcproc.c | |
parent | 7de875b231edb807387a81cde288aa9e1015ef9e (diff) | |
download | linux-stable-2dc6f19e4f438d4c14987cb17aee38aaf7304e7f.tar.gz linux-stable-2dc6f19e4f438d4c14987cb17aee38aaf7304e7f.tar.bz2 linux-stable-2dc6f19e4f438d4c14987cb17aee38aaf7304e7f.zip |
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/svcproc.c')
-rw-r--r-- | fs/lockd/svcproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c index 4ae4b63b5392..f4e5e0eb30fd 100644 --- a/fs/lockd/svcproc.c +++ b/fs/lockd/svcproc.c @@ -69,7 +69,7 @@ nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, /* Obtain file pointer. Not used by FREE_ALL call. */ if (filp != NULL) { - error = cast_status(nlm_lookup_file(rqstp, &file, &lock->fh)); + error = cast_status(nlm_lookup_file(rqstp, &file, lock)); if (error != 0) goto no_locks; *filp = file; |