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
/
osd-ldiskfs
/
osd_scrub.h
diff --git
a/lustre/osd-ldiskfs/osd_scrub.h
b/lustre/osd-ldiskfs/osd_scrub.h
index
b07928e
..
187c014
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_scrub.h
+++ b/
lustre/osd-ldiskfs/osd_scrub.h
@@
-172,8
+172,8
@@
struct osd_scrub {
/* write lock for scrub prep/update/post/checkpoint,
* read lock for scrub dump. */
-
cfs_rw_semaphore_t
os_rwsem;
-
cfs_spinlock_t
os_lock;
+
struct rw_semaphore
os_rwsem;
+
spinlock_t
os_lock;
/* Scrub file in memory. */
struct scrub_file os_file;