aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/dir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2009-04-28 10:56:37 -0400
committerMiklos Szeredi <mszeredi@suse.cz>2009-04-28 10:56:37 -0400
commit91fe96b403f8a0a4a8a045a39b1bd549b0da7941 (patch)
tree38188f1dff969c050b26093d806ae0092f8c30b9 /fs/fuse/dir.c
parentc7b7143c6342b8751d47b03a025ac5c0ac1ae809 (diff)
fuse: create fuse_do_open() helper for CUSE
Create a helper for sending an OPEN request that doesn't need a struct inode pointer. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/dir.c')
-rw-r--r--fs/fuse/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index da87a3d8a8ea..faa3b2f86740 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -1103,7 +1103,7 @@ static void fuse_put_link(struct dentry *dentry, struct nameidata *nd, void *c)
1103 1103
1104static int fuse_dir_open(struct inode *inode, struct file *file) 1104static int fuse_dir_open(struct inode *inode, struct file *file)
1105{ 1105{
1106 return fuse_open_common(inode, file, 1); 1106 return fuse_open_common(inode, file, true);
1107} 1107}
1108 1108
1109static int fuse_dir_release(struct inode *inode, struct file *file) 1109static int fuse_dir_release(struct inode *inode, struct file *file)