diff options
author | 2023-11-09 21:06:02 +0000 | |
---|---|---|
committer | 2023-12-29 11:58:22 -0800 | |
commit | 6d840a18773f36baaecc2d2f7fb18ec5862349e6 (patch) | |
tree | db19a92be69ccab90c5d0bbed515dfb47e465395 /fs/file.c | |
parent | UBSAN: use the kernel panic message markers (diff) | |
download | linux-6d840a18773f36baaecc2d2f7fb18ec5862349e6.tar.gz linux-6d840a18773f36baaecc2d2f7fb18ec5862349e6.tar.bz2 linux-6d840a18773f36baaecc2d2f7fb18ec5862349e6.zip |
buffer: return bool from grow_dev_folio()
Patch series "More buffer_head cleanups", v2.
The first patch is a left-over from last cycle. The rest fix "obvious"
block size > PAGE_SIZE problems. I haven't tested with a large block size
setup (but I have done an ext4 xfstests run).
This patch (of 7):
Rename grow_dev_page() to grow_dev_folio() and make it return a bool.
Document what that bool means; it's more subtle than it first appears.
Also rename the 'failed' label to 'unlock' beacuse it's not exactly
'failed'. It just hasn't succeeded.
Link: https://lkml.kernel.org/r/20231109210608.2252323-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Pankaj Raghav <p.raghav@samsung.com>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions