From: Matthew Wilcox (Oracle) Date: Mon, 16 Oct 2023 20:11:02 +0000 (+0100) Subject: nilfs2: remove nilfs_page_get_nth_block X-Git-Tag: v6.7-rc1~90^2~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73c32e07a3977f8470b29889d30d2f808e6fee4a;p=thirdparty%2Fkernel%2Flinux.git nilfs2: remove nilfs_page_get_nth_block All users have now been converted to get_nth_block(). Link: https://lkml.kernel.org/r/20231016201114.1928083-16-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Ryusuke Konishi Cc: Andreas Gruenbacher Cc: Pankaj Raghav Signed-off-by: Andrew Morton --- diff --git a/fs/nilfs2/page.h b/fs/nilfs2/page.h index 344d71942d36a..d249ea1cefff5 100644 --- a/fs/nilfs2/page.h +++ b/fs/nilfs2/page.h @@ -52,10 +52,4 @@ unsigned long nilfs_find_uncommitted_extent(struct inode *inode, #define NILFS_PAGE_BUG(page, m, a...) \ do { nilfs_page_bug(page); BUG(); } while (0) -static inline struct buffer_head * -nilfs_page_get_nth_block(struct page *page, unsigned int count) -{ - return get_nth_bh(page_buffers(page), count); -} - #endif /* _NILFS_PAGE_H */