summaryrefslogtreecommitdiff
path: root/fs/9p/v9fs_vfs.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@kernel.org>2024-01-06 01:25:39 +0300
committerEric Van Hensbergen <ericvh@kernel.org>2024-01-26 19:46:56 +0300
commit724a08450f74b02bd89078a596fd24857827c012 (patch)
treecf8ea7b5fbe538b4a90a64d469da908d1c2b76fb /fs/9p/v9fs_vfs.h
parentb91a26696ef38eae1442aa03104e60bb49d2ac99 (diff)
downloadlinux-724a08450f74b02bd89078a596fd24857827c012.tar.xz
fs/9p: simplify iget to remove unnecessary paths
Remove the additional comparison operators and switch to simply lookup by inode number (aka qid.path). Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Diffstat (limited to 'fs/9p/v9fs_vfs.h')
-rw-r--r--fs/9p/v9fs_vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h
index d3aefbec4de6..7923c3c347cb 100644
--- a/fs/9p/v9fs_vfs.h
+++ b/fs/9p/v9fs_vfs.h
@@ -42,7 +42,7 @@ struct inode *v9fs_alloc_inode(struct super_block *sb);
void v9fs_free_inode(struct inode *inode);
void v9fs_set_netfs_context(struct inode *inode);
int v9fs_init_inode(struct v9fs_session_info *v9ses,
- struct inode *inode, umode_t mode, dev_t rdev);
+ struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev);
void v9fs_evict_inode(struct inode *inode);
#if (BITS_PER_LONG == 32)
#define QID2INO(q) ((ino_t) (((q)->path+2) ^ (((q)->path) >> 32)))