Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3097 build: fix 'no effect' errors
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_lproc.c
diff --git
a/lustre/mdt/mdt_lproc.c
b/lustre/mdt/mdt_lproc.c
index
fd2b92d
..
90d0c85
100644
(file)
--- a/
lustre/mdt/mdt_lproc.c
+++ b/
lustre/mdt/mdt_lproc.c
@@
-914,7
+914,7
@@
static int lprocfs_wr_enable_remote_dir(struct file *file, const char *buffer,
if (rc)
return rc;
- if (val
< 0 || val
> 1)
+ if (val > 1)
return -ERANGE;
mdt->mdt_enable_remote_dir = val;