]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9fb0b2150d9728e1347392b4fb8acb583fefcec
tree2c411af3724039d67772d9a28687d37ebb257684
parent9abdde1a5c93abd63fe9d0c1cd994ecbb7477c1a
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