commit | 50a10043fd4c12c008bc607d30a72b59d2f2dee9 | [log] [tgz] |
---|---|---|
author | James Simmons <jsimmons@infradead.org> | Wed Dec 23 16:24:40 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 03 14:20:14 2016 -0800 |
tree | b045e42d2db93043dd2e667a21990c7b56cb4f18 | |
parent | 8b88bcabca1e10d4e7e42f9ad7cefc2aed56d8b1 [diff] |
staging: lustre: kg_sem semaphore handling is incorrectly During the removal of the cfs wrappers the kg_sem semaphore was handled incorrectly. We need to take a write lock when writing data to the kkuc_groups. The libcfs_kkuc_group_foreach needs to only take a read lock. This makes use match the OpenSFS development branch. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>