diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-02-23 17:54:57 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-10 22:15:18 -0400 |
| commit | 4bd9f3fd87e252303e8fef6105b704f05d3f2678 (patch) | |
| tree | 2b53254f193bdbe4a60973fd72be60501e41cdb1 /fs/fuse/dir.c | |
| parent | ec169ef86ba45389b353189cf1fc06461163f667 (diff) | |
| download | linux-next-4bd9f3fd87e252303e8fef6105b704f05d3f2678.tar.gz linux-next-4bd9f3fd87e252303e8fef6105b704f05d3f2678.zip | |
fuse: no need for special dentry_operations for root dentry
->d_revalidate() is never called for root anyway...
Reviewed-by: Christian Brauner <brauner@kernel.org>
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/dir.c')
| -rw-r--r-- | fs/fuse/dir.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 45b4c3cc1396..2d817d7cab26 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -338,13 +338,6 @@ const struct dentry_operations fuse_dentry_operations = { .d_automount = fuse_dentry_automount, }; -const struct dentry_operations fuse_root_dentry_operations = { -#if BITS_PER_LONG < 64 - .d_init = fuse_dentry_init, - .d_release = fuse_dentry_release, -#endif -}; - int fuse_valid_type(int m) { return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || |
