]> www.infradead.org Git - users/dwmw2/linux.git/commit
qnx6: Convert qnx6_find_entry() to qnx6_find_ino()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 10 Jul 2024 03:13:18 +0000 (23:13 -0400)
committerChristian Brauner <brauner@kernel.org>
Wed, 7 Aug 2024 09:31:55 +0000 (11:31 +0200)
commit5563040e852994c4ad40b189d3ea4ed253ace232
treec24e2ea0b48de0fc5a24833eb0775f746c8213ab
parentb2aa61556fcfa83639507d329d48cd6e2f7ac487
qnx6: Convert qnx6_find_entry() to qnx6_find_ino()

It's hard to return a directory entry from qnx6_find_entry()
because it might be a long dir_entry with a different format.
So stick with the convention of returning an inode number,
but rename it to qnx6_find_ino() to reflect what it actually does,
and move the call to qnx6_put_page() inside the function which
lets us get rid of the res_page parameter.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/qnx6/dir.c
fs/qnx6/namei.c
fs/qnx6/qnx6.h