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-2237 tests: new test for re-recreating last_rcvd
[fs/lustre-release.git]
/
lustre
/
lmv
/
lproc_lmv.c
diff --git
a/lustre/lmv/lproc_lmv.c
b/lustre/lmv/lproc_lmv.c
index
030601b
..
f7041e6
100644
(file)
--- a/
lustre/lmv/lproc_lmv.c
+++ b/
lustre/lmv/lproc_lmv.c
@@
-1,6
+1,4
@@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@
-121,9
+119,9
@@
static int lmv_wr_placement(struct file *file, const char *buffer,
policy = placement_name2policy(dummy, len);
if (policy != PLACEMENT_INVAL_POLICY) {
policy = placement_name2policy(dummy, len);
if (policy != PLACEMENT_INVAL_POLICY) {
-
cfs_
spin_lock(&lmv->lmv_lock);
-
lmv->lmv_placement = policy;
-
cfs_
spin_unlock(&lmv->lmv_lock);
+ spin_lock(&lmv->lmv_lock);
+ lmv->lmv_placement = policy;
+ spin_unlock(&lmv->lmv_lock);
} else {
CERROR("Invalid placement policy \"%s\"!\n", dummy);
return -EINVAL;
} else {
CERROR("Invalid placement policy \"%s\"!\n", dummy);
return -EINVAL;