diff options
author | Chaitanya Kulkarni <[email protected]> | 2022-02-22 07:28:51 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-02-27 14:49:49 -0700 |
commit | c90b6b50b42dfdfeb27b02e670e812b69ff364f5 (patch) | |
tree | 45bc5a2fea356e5d6151d60dc1054437d39cd70b /net/lapb/lapb_in.c | |
parent | 3d3472f3ed419fe1a9d3f881a4905fa8e03d750c (diff) |
null_blk: remove hardcoded null_alloc_page() param
Only caller of null_alloc_page() is null_insert_page() unconditionally
sets only parameter to GFP_NOIO and that is statically hard-coded in
null_blk. There is no point in having statically hardcoded function
parameter.
Remove the unnecessary parameter gfp_flags and adjust the code, so it
can retain existing behavior null_alloc_page() with GFP_NOIO.
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions