summaryrefslogtreecommitdiffstats
path: root/fs/qnx6/qnx6.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-07-10 17:31:09 +0200
committerChristian Brauner <brauner@kernel.org>2024-08-07 11:31:56 +0200
commit25689405bc33788de71d39d9900f849aa8bd9040 (patch)
tree418b65fd75dcd985db1212adab9ac51be6dd77df /fs/qnx6/qnx6.h
parentqnx6: Convert qnx6_iget() to use a folio (diff)
downloadlinux-25689405bc33788de71d39d9900f849aa8bd9040.tar.xz
linux-25689405bc33788de71d39d9900f849aa8bd9040.zip
qnx6: Convert directory handling to use kmap_local
Eliminates qnx6_put_page() and a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/qnx6/qnx6.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/qnx6/qnx6.h b/fs/qnx6/qnx6.h
index 43da5f91c3ff..56ed1367499e 100644
--- a/fs/qnx6/qnx6.h
+++ b/fs/qnx6/qnx6.h
@@ -126,10 +126,4 @@ static inline __fs16 cpu_to_fs16(struct qnx6_sb_info *sbi, __u16 n)
extern struct qnx6_super_block *qnx6_mmi_fill_super(struct super_block *s,
int silent);
-static inline void qnx6_put_page(struct page *page)
-{
- kunmap(page);
- put_page(page);
-}
-
unsigned qnx6_find_ino(int len, struct inode *dir, const char *name);