dm btree: silence lockdep lock inversion in dm_btree_del()
authorJoe Thornber <ejt@redhat.com>
Fri, 3 Jul 2015 13:51:32 +0000 (14:51 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 6 Jul 2015 14:45:02 +0000 (10:45 -0400)
commit1c7518794a3647eb345d59ee52844e8a40405198
tree2c98c3c7448645836876e37895b5ef9b9c96ef38
parenta822c83e47d97cdef38c4352e1ef62d9f46cfe98
dm btree: silence lockdep lock inversion in dm_btree_del()

Allocate memory using GFP_NOIO when deleting a btree.  dm_btree_del()
can be called via an ioctl and we don't want to recurse into the FS or
block layer.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/persistent-data/dm-btree.c