ntfs3: remove ntfs_alloc_bio
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2022 09:10:52 +0000 (10:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commit39146b6f66ba5c107d5c5758a17f290846165b4d
tree2c411af3724039d67772d9a28687d37ebb257684
parent5d2ca2132f889bc2c90d6d07fc9fc129cfee8955
ntfs3: remove ntfs_alloc_bio

bio_alloc will never fail if it is allowed to sleep, so there is no
need for this loop.  Also remove the __GFP_HIGH specifier as it doesn't
make sense here given that we'll always fall back to the mempool anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220124091107.642561-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ntfs3/fsntfs.c