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-3647 llite: cancel open lock before closing file
[fs/lustre-release.git]
/
lustre
/
lmv
/
lproc_lmv.c
diff --git
a/lustre/lmv/lproc_lmv.c
b/lustre/lmv/lproc_lmv.c
index
cd436a1
..
6a3b128
100644
(file)
--- a/
lustre/lmv/lproc_lmv.c
+++ b/
lustre/lmv/lproc_lmv.c
@@
-107,7
+107,7
@@
static int lmv_wr_placement(struct file *file, const char *buffer,
placement_policy_t policy;
struct lmv_obd *lmv;
-
if (cfs_
copy_from_user(dummy, buffer, MAX_POLICY_STRING_SIZE))
+
if (
copy_from_user(dummy, buffer, MAX_POLICY_STRING_SIZE))
return -EFAULT;
LASSERT(dev != NULL);