commit | 73e39e4dba828fe1affefe6290456623319707bd | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@redhat.com> | Thu Jan 08 20:18:22 2015 +0300 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 19 13:31:38 2015 +0300 |
tree | 436c5f303096c5c7ce9417b52259da129fe83674 | |
parent | 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 [diff] |
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>