aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-09-14 16:00:11 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:32:29 -0700
commit93b13ecaa713e1fcbf23b7483eec065d300c5ad8 (patch)
treedc6fd52f9bd13f82b18a0caf9479cb09fdcf16a5 /include/linux/buffer_head.h
parentext4: call bdev_getblk() from sb_getblk_gfp() (diff)
downloadwireguard-linux-93b13ecaa713e1fcbf23b7483eec065d300c5ad8.tar.xz
wireguard-linux-93b13ecaa713e1fcbf23b7483eec065d300c5ad8.zip
buffer: remove __getblk_gfp()
Inline it into __bread_gfp(). Link: https://lkml.kernel.org/r/20230914150011.843330-9-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Hui Zhu <teawater@antgroup.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 22f13eece719..3dc4720e4773 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -229,8 +229,6 @@ struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
unsigned size);
struct buffer_head *bdev_getblk(struct block_device *bdev, sector_t block,
unsigned size, gfp_t gfp);
-struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block,
- unsigned size, gfp_t gfp);
void __brelse(struct buffer_head *);
void __bforget(struct buffer_head *);
void __breadahead(struct block_device *, sector_t block, unsigned int size);