summaryrefslogtreecommitdiff
path: root/fs/nilfs2/segbuf.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-01-24 12:10:49 +0300
committerJens Axboe <axboe@kernel.dk>2022-02-02 17:49:59 +0300
commitd5f68a42da7a4516e7503c281a54a58727f07dc3 (patch)
treed46e6e44a1f009aa070ce56372cfc8886be8b9b4 /fs/nilfs2/segbuf.c
parent322cbb50de711814c42fb088f6d31901502c711a (diff)
downloadlinux-d5f68a42da7a4516e7503c281a54a58727f07dc3.tar.xz
fs: remove mpage_alloc
open code mpage_alloc in it's two callers and simplify the results because of the context: - __mpage_writepage always passes GFP_NOFS and can thus always sleep and will never get a NULL return from bio_alloc at all. - do_mpage_readpage can only get a non-sleeping context for readahead which never sets PF_MEMALLOC and thus doesn't need the retry loop either. Both cases will never have __GFP_HIGH set. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220124091107.642561-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nilfs2/segbuf.c')
0 files changed, 0 insertions, 0 deletions