git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NLM: nlm_lookup_file() may return NLMv4-specific error codes
[pandora-kernel.git]
/
fs
/
lockd
/
svcproc.c
diff --git
a/fs/lockd/svcproc.c
b/fs/lockd/svcproc.c
index
d27aab1
..
d413af3
100644
(file)
--- a/
fs/lockd/svcproc.c
+++ b/
fs/lockd/svcproc.c
@@
-67,7
+67,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;