diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-27 16:45:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 14:53:39 -0700 |
commit | 3a4174e68684e43ecdcb59126a441b29d5e94f7f (patch) | |
tree | a6538a19c9bb3a47297434f2c17da51492ad3565 /fs/libfs.c | |
parent | 612c6aa7817f1c89b6a92fc724331aa7c9d77f6e (diff) | |
download | lwn-3a4174e68684e43ecdcb59126a441b29d5e94f7f.tar.gz lwn-3a4174e68684e43ecdcb59126a441b29d5e94f7f.zip |
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 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions