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
nfsd: don't fail unchecked creates of non-special files
[pandora-kernel.git]
/
fs
/
lockd
/
svc.c
diff --git
a/fs/lockd/svc.c
b/fs/lockd/svc.c
index
c061b9a
..
2444780
100644
(file)
--- a/
fs/lockd/svc.c
+++ b/
fs/lockd/svc.c
@@
-440,7
+440,7
@@
static int param_set_##name(const char *val, struct kernel_param *kp) \
__typeof__(type) num = which_strtol(val, &endp, 0); \
if (endp == val || *endp || num < (min) || num > (max)) \
return -EINVAL; \
- *((
int *) kp->arg) = num;
\
+ *((
type *) kp->arg) = num;
\
return 0; \
}