summaryrefslogtreecommitdiff
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-12 03:42:15 (GMT)
committerSage Weil <sage@newdream.net>2012-01-12 19:00:50 (GMT)
commit0e805a1d857799352e51e8697c0b1a30aec16913 (patch)
treebc6ad83e25af597f40b03170026c3e5d331c2814 /fs/ceph/super.c
parenta40dc6cc2e121abcbd1b22583ef5447763df510c (diff)
downloadlinux-fsl-qoriq-0e805a1d857799352e51e8697c0b1a30aec16913.tar.xz
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 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions