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-1346 libcfs: replace libcfs wrappers with kernel API
[fs/lustre-release.git]
/
lustre
/
lod
/
lproc_lod.c
diff --git
a/lustre/lod/lproc_lod.c
b/lustre/lod/lproc_lod.c
index
819dab4
..
881e914
100644
(file)
--- a/
lustre/lod/lproc_lod.c
+++ b/
lustre/lod/lproc_lod.c
@@
-340,7
+340,7
@@
static void *lod_osts_seq_start(struct seq_file *p, loff_t *pos)
if (*pos >= lod->lod_ost_bitmap->size)
return NULL;
if (*pos >= lod->lod_ost_bitmap->size)
return NULL;
- *pos =
cfs_
find_next_bit(lod->lod_ost_bitmap->data,
+ *pos = find_next_bit(lod->lod_ost_bitmap->data,
lod->lod_ost_bitmap->size, *pos);
if (*pos < lod->lod_ost_bitmap->size)
return OST_TGT(lod,*pos);
lod->lod_ost_bitmap->size, *pos);
if (*pos < lod->lod_ost_bitmap->size)
return OST_TGT(lod,*pos);
@@
-366,7
+366,7
@@
static void *lod_osts_seq_next(struct seq_file *p, void *v, loff_t *pos)
if (*pos >= lod->lod_ost_bitmap->size - 1)
return NULL;
if (*pos >= lod->lod_ost_bitmap->size - 1)
return NULL;
- *pos =
cfs_
find_next_bit(lod->lod_ost_bitmap->data,
+ *pos = find_next_bit(lod->lod_ost_bitmap->data,
lod->lod_ost_bitmap->size, *pos + 1);
if (*pos < lod->lod_ost_bitmap->size)
return OST_TGT(lod,*pos);
lod->lod_ost_bitmap->size, *pos + 1);
if (*pos < lod->lod_ost_bitmap->size)
return OST_TGT(lod,*pos);