rbd: drop extra header_rwsem init
authorAlex Elder <elder@inktank.com>
Thu, 19 Jul 2012 14:09:27 +0000 (09:09 -0500)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:45 +0000 (18:15 -0700)
commita66f8c97a31fd7b2cfd7b86d4789858dbfbedffb
tree15f8fe7eaa213fe8045e5be71e4a55d63bd35f23
parent9e15dc735a7a0418be14e2deab44ddee369af857
rbd: drop extra header_rwsem init

In commit c666601a there was inadvertently added an extra
initialization of rbd_dev->header_rwsem.  This gets rid of the
duplicate.

Reported-by: Guangliang Zhao <gzhao@suse.com>
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c