diff options
author | Ilya Dryomov <idryomov@redhat.com> | 2015-01-08 20:18:22 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-02-19 13:31:38 +0300 |
commit | 73e39e4dba828fe1affefe6290456623319707bd (patch) | |
tree | 436c5f303096c5c7ce9417b52259da129fe83674 /fs/ceph/caps.c | |
parent | 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 (diff) | |
download | op-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