commit | 040f04bd2e825f1d80b14a0e0ac3d830339eb779 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 24 11:54:06 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 01 14:53:38 2020 -0700 |
tree | 344a715d906949d20f1131c6f169b26fdb8e6eea | |
parent | 60b498852bf219c0bf2b0864c69972840978ca43 [diff] |
fs: simplify freeze_bdev/thaw_bdev Store the frozen superblock in struct block_device to avoid the awkward interface that can return a sb only used a cookie, an ERR_PTR or NULL. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Chao Yu <yuchao0@huawei.com> [f2fs] Signed-off-by: Jens Axboe <axboe@kernel.dk>