Whamcloud - gitweb
LU-2869 llite: extended attribute cache
[fs/lustre-release.git] / libcfs / include / libcfs / user-lock.h
index 71e9792..0bae9c1 100644 (file)
@@ -201,6 +201,7 @@ void init_rwsem(struct rw_semaphore *s);
 void down_read(struct rw_semaphore *s);
 int down_read_trylock(struct rw_semaphore *s);
 void down_write(struct rw_semaphore *s);
+void downgrade_write(struct rw_semaphore *s);
 int down_write_trylock(struct rw_semaphore *s);
 void up_read(struct rw_semaphore *s);
 void up_write(struct rw_semaphore *s);