commit | 8a5e929dd2e05ab4d3d89f58c5e8fca596af8f3a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 25 19:15:54 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 20 01:43:52 2011 -0400 |
tree | 8cbed05fcd99d24e881e5ea12d8a954865e31085 | |
parent | 554a8b9f54cd7ca2b89f5dc227df08be082fae0d [diff] [blame] |
don't transliterate lower bits of ->intent.open.flags to FMODE_... ->create() instances are much happier that way... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index e2b1400..47559dd 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c
@@ -382,7 +382,7 @@ struct fuse_entry_out outentry; struct fuse_file *ff; struct file *file; - int flags = nd->intent.open.flags - 1; + int flags = nd->intent.open.flags; if (fc->no_create) return -ENOSYS;