diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 16:56:37 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 16:56:37 +0200 |
commit | 91fe96b403f8a0a4a8a045a39b1bd549b0da7941 (patch) | |
tree | 38188f1dff969c050b26093d806ae0092f8c30b9 /fs/fuse/dir.c | |
parent | c7b7143c6342b8751d47b03a025ac5c0ac1ae809 (diff) | |
download | linux-91fe96b403f8a0a4a8a045a39b1bd549b0da7941.tar.gz linux-91fe96b403f8a0a4a8a045a39b1bd549b0da7941.tar.bz2 linux-91fe96b403f8a0a4a8a045a39b1bd549b0da7941.zip |
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.c | 2 |
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) static int fuse_dir_open(struct inode *inode, struct file *file) { - return fuse_open_common(inode, file, 1); + return fuse_open_common(inode, file, true); } static int fuse_dir_release(struct inode *inode, struct file *file) |