diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-23 16:39:52 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-23 09:42:15 -0600 |
commit | 61285ff72ae59e1603f908b13363e99883d67e09 (patch) | |
tree | 01ba57ae525898b18dde6ccf7c480b46a8688bc5 /fs/ext4/file.c | |
parent | 64bf0eef0171912f7c2f3ea30ee6ad7a2ad0a511 (diff) | |
download | lwn-61285ff72ae59e1603f908b13363e99883d67e09.tar.gz lwn-61285ff72ae59e1603f908b13363e99883d67e09.zip |
fs: do not pass __GFP_HIGHMEM to bio_alloc in do_mpage_readpage
The mpage bio alloc cleanup accidentally removed clearing ~GFP_KERNEL
bits from the mask passed to bio_alloc. Fix this up in a slightly
less obsfucated way that mirrors what iomap does in its readpage code.
Fixes: 77c436de01c0 ("mpage: pass the operation to bio_alloc")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Link: https://lore.kernel.org/r/20220323153952.1418560-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions