Commit 11b80f45 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro

rw_semaphore: remove up/down_read_non_owner

Now that the last users is gone these can be removed.
Signed-off-by: default avatarChristoph Hellwig <>
Signed-off-by: default avatarAl Viro <>
parent bd5fe6c5
......@@ -124,19 +124,9 @@ extern void downgrade_write(struct rw_semaphore *sem);
extern void down_read_nested(struct rw_semaphore *sem, int subclass);
extern void down_write_nested(struct rw_semaphore *sem, int subclass);
* Take/release a lock when not the owner will release it.
* [ This API should be avoided as much as possible - the
* proper abstraction for this case is completions. ]
extern void down_read_non_owner(struct rw_semaphore *sem);
extern void up_read_non_owner(struct rw_semaphore *sem);
# define down_read_nested(sem, subclass) down_read(sem)
# define down_write_nested(sem, subclass) down_write(sem)
# define down_read_non_owner(sem) down_read(sem)
# define up_read_non_owner(sem) up_read(sem)
#endif /* _LINUX_RWSEM_H */
......@@ -117,15 +117,6 @@ void down_read_nested(struct rw_semaphore *sem, int subclass)
void down_read_non_owner(struct rw_semaphore *sem)
void down_write_nested(struct rw_semaphore *sem, int subclass)
......@@ -136,13 +127,6 @@ void down_write_nested(struct rw_semaphore *sem, int subclass)
void up_read_non_owner(struct rw_semaphore *sem)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment