projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/radeon: do not move bo to different placement at each cs
[firefly-linux-kernel-4.4.55.git]
/
fs
/
lockd
/
svcproc.c
diff --git
a/fs/lockd/svcproc.c
b/fs/lockd/svcproc.c
index 3009a365e082e37764ea817d070165c3b828146b..21171f0c6477560d7a5f6deb3e336e6c98581f96 100644
(file)
--- a/
fs/lockd/svcproc.c
+++ b/
fs/lockd/svcproc.c
@@
-68,7
+68,8
@@
nlmsvc_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 = cast_status(nlm_lookup_file(rqstp, &file, &lock->fh));
+ if (error != 0)
goto no_locks;
*filp = file;