summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@redhat.com>2015-01-08 20:18:22 +0300
committerIlya Dryomov <idryomov@gmail.com>2015-02-19 13:31:38 +0300
commit73e39e4dba828fe1affefe6290456623319707bd (patch)
tree436c5f303096c5c7ce9417b52259da129fe83674 /fs/ceph/caps.c
parent982d6011bc30a26e8a3d546e0e7fc7db2c255d85 (diff)
downloadop-kernel-dev-73e39e4dba828fe1affefe6290456623319707bd.zip
op-kernel-dev-73e39e4dba828fe1affefe6290456623319707bd.tar.gz
rbd: fix error paths in rbd_dev_refresh()
header_rwsem should be released on errors. Also remove useless rbd_dev->mapping.size != rbd_dev->header.image_size test. Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud