summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-10-18 15:36:48 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2016-10-18 15:36:48 +0200
commit0ce267ff95a0302cf6fb2a552833abbfb7861a43 (patch)
treee5f7a786185e44b43f492ff75f00243cb3310490 /fs/fuse/fuse_i.h
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-0ce267ff95a0302cf6fb2a552833abbfb7861a43.tar.gz
linux-0ce267ff95a0302cf6fb2a552833abbfb7861a43.tar.bz2
linux-0ce267ff95a0302cf6fb2a552833abbfb7861a43.zip
fuse: fix root dentry initialization
Add missing dentry initialization to root dentry. Fixes: f75fdf22b0a8 ("fuse: don't use ->d_time") Reported-by: Andreas Reis <andreas.reis@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 0dfbb136e59a..91307940c8ac 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -692,6 +692,7 @@ static inline u64 get_node_id(struct inode *inode)
extern const struct file_operations fuse_dev_operations;
extern const struct dentry_operations fuse_dentry_operations;
+extern const struct dentry_operations fuse_root_dentry_operations;
/**
* Inode to nodeid comparison.