diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-09-14 16:00:05 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:28 -0700 |
| commit | 3ed65f04aac4d1cd025f30ee3fac174bcbf2b018 (patch) | |
| tree | a9ff3d53f9ecccbe486141d76c22de4ec855517f /include/linux/debugobjects.h | |
| parent | 2a41815784e029cbef571511384f00fa40f2a82e (diff) | |
buffer: hoist GFP flags from grow_dev_page() to __getblk_gfp()
grow_dev_page() is only called by grow_buffers(). grow_buffers() is only
called by __getblk_slow() and __getblk_slow() is only called from
__getblk_gfp(), so it is safe to move the GFP flags setting all the way
up. With that done, add a new bdev_getblk() entry point that leaves the
GFP flags the way the caller specified them.
[[email protected]: fix grow_dev_page() error handling]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Hui Zhu <[email protected]>
Cc: Dan Carpenter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions