]> git.itanic.dy.fi Git - linux-stable/commit
ext4: Fix warning in blkdev_put()
authorJan Kara <jack@suse.cz>
Thu, 22 Jun 2023 16:51:07 +0000 (18:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Jun 2023 14:14:41 +0000 (08:14 -0600)
commita42fb5a75ccc37dfd69aa9bde5ba2866e802ff3c
tree99382770d0bcb1c4fcc817b8e30939a5f8a2d2b9
parent648fa60fa7de3ca6f6303e1721591ad73def9cf0
ext4: Fix warning in blkdev_put()

ext4_blkdev_remove() passes a wrong holder pointer to blkdev_put() which
triggers a warning there. Fix it.

Fixes: 2736e8eeb0cc ("block: use the holder as indication for exclusive opens")
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230622165107.13687-1-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ext4/super.c