dm: remove invalid sparse __acquires and __releases annotations
authorMike Snitzer <snitzer@redhat.com>
Fri, 4 Dec 2020 20:25:18 +0000 (15:25 -0500)
committerMike Snitzer <snitzer@redhat.com>
Fri, 4 Dec 2020 20:25:18 +0000 (15:25 -0500)
commitbde3808bc8c2741ad3d804f84720409aee0c2972
tree8d3a08b141ff6f303ab8ecf3d2bdabd21140a70c
parentf05c4403db5bba881d4964e731f6da35be46aabd
dm: remove invalid sparse __acquires and __releases annotations

Fixes sparse warnings:
drivers/md/dm.c:508:12: warning: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
drivers/md/dm.c:543:13: warning: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit

Fixes: 971888c46993f ("dm: hold DM table for duration of ioctl rather than use blkdev_get")
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c