]> 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)
commita5b1033f9fa1292d11100d2cdbd2ac0be299250a
tree2c411af3724039d67772d9a28687d37ebb257684
parent3703feb79cfacb53df71f1b5324c9ac346d4e635
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