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-11154 llite: use proper flags for FS_IOC_{FSSET,FSGET}XATTR
[fs/lustre-release.git]
/
lustre
/
utils
/
lsnapshot.c
diff --git
a/lustre/utils/lsnapshot.c
b/lustre/utils/lsnapshot.c
index
898230b
..
3d79674
100644
(file)
--- a/
lustre/utils/lsnapshot.c
+++ b/
lustre/utils/lsnapshot.c
@@
-268,7
+268,7
@@
static int snapshot_load_conf_ldev(struct snapshot_instance *si, char *buf,
/* Format of label:
* fsname-<role><index> or <role><index> */
- ptr = strchr(label, '-');
+ ptr = str
r
chr(label, '-');
if (ptr) {
if (strncmp(si->si_fsname, label, ptr - label) != 0) {
/* This line is NOT for current filesystem .*/