summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-27 16:45:27 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-01 14:53:39 -0700
commit3a4174e68684e43ecdcb59126a441b29d5e94f7f (patch)
treea6538a19c9bb3a47297434f2c17da51492ad3565 /init
parent612c6aa7817f1c89b6a92fc724331aa7c9d77f6e (diff)
downloadlinux-3a4174e68684e43ecdcb59126a441b29d5e94f7f.tar.bz2
block: switch bdgrab to use igrab
All of the current callers already have a reference, but to prepare for additional users ensure bdgrab returns NULL if the block device is being freed. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions