Message ID | 20180701160913.605670833@linuxfoundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/kernel/locking/rwsem.c +++ b/kernel/locking/rwsem.c @@ -181,6 +181,7 @@ void down_read_non_owner(struct rw_semap might_sleep(); __down_read(sem); + rwsem_set_reader_owned(sem); } EXPORT_SYMBOL(down_read_non_owner);