diff options
| author | 2012-01-11 19:42:15 -0800 | |
|---|---|---|
| committer | 2012-01-12 11:00:50 -0800 | |
| commit | 0e805a1d857799352e51e8697c0b1a30aec16913 (patch) | |
| tree | bc6ad83e25af597f40b03170026c3e5d331c2814 /lib/dec_and_lock.c | |
| parent | ceph: enable/disable dentry complete flags via mount option (diff) | |
| download | wireguard-linux-0e805a1d857799352e51e8697c0b1a30aec16913.tar.xz wireguard-linux-0e805a1d857799352e51e8697c0b1a30aec16913.zip | |
rbd: initialize snap_rwsem in rbd_add()
New rbd device structures get initialized in rbd_add(). Many of
the fields rely on being initially zero-filled. However we lockdep
was noticing that the rw_semaphore embedded in the header field
was not getting properly initialized. Fix that.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions
