]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: remove duplicate calls to rbd_dev_mapping_clear()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 22 Oct 2015 14:44:15 +0000 (16:44 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Nov 2015 22:36:48 +0000 (23:36 +0100)
commitb848182627e99d585266539ba75a9980377fcacc
tree1608f98ea08ea239840f0fea0739483a6340e0f8
parent3127758cfa1f04c0c87a35b6e4c937c26b4c54e0
rbd: remove duplicate calls to rbd_dev_mapping_clear()

Commit 7ee15c703f25 ("rbd: set mapping info earlier") defined
rbd_dev_mapping_clear(), but, just a few days after, commit
16c9499c8487 ("rbd: set the mapping size and features later") moved
rbd_dev_mapping_set() calls and added another rbd_dev_mapping_clear()
call instead of moving the old one.  Around the same time, another
duplicate was introduced in rbd_dev_device_release() - kill both.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c