diff mbox

fuse: fix wrong assignment of ->flags in fuse_send_init()

Message ID 1469452624-31600-1-git-send-email-fangwei1@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

fangwei July 25, 2016, 1:17 p.m. UTC
FUSE_HAS_IOCTL_DIR should be assigned to ->flags, it may be a typo.

Signed-off-by: Wei Fang <fangwei1@huawei.com>
---
 fs/fuse/inode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Miklos Szeredi July 26, 2016, 10:14 a.m. UTC | #1
On Mon, Jul 25, 2016 at 3:17 PM, Wei Fang <fangwei1@huawei.com> wrote:
> FUSE_HAS_IOCTL_DIR should be assigned to ->flags, it may be a typo.

Thanks, applied.

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 1ce6766..d302a5f 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -926,7 +926,7 @@  static void fuse_send_init(struct fuse_conn *fc, struct fuse_req *req)
 	arg->flags |= FUSE_ASYNC_READ | FUSE_POSIX_LOCKS | FUSE_ATOMIC_O_TRUNC |
 		FUSE_EXPORT_SUPPORT | FUSE_BIG_WRITES | FUSE_DONT_MASK |
 		FUSE_SPLICE_WRITE | FUSE_SPLICE_MOVE | FUSE_SPLICE_READ |
-		FUSE_FLOCK_LOCKS | FUSE_IOCTL_DIR | FUSE_AUTO_INVAL_DATA |
+		FUSE_FLOCK_LOCKS | FUSE_HAS_IOCTL_DIR | FUSE_AUTO_INVAL_DATA |
 		FUSE_DO_READDIRPLUS | FUSE_READDIRPLUS_AUTO | FUSE_ASYNC_DIO |
 		FUSE_WRITEBACK_CACHE | FUSE_NO_OPEN_SUPPORT;
 	req->in.h.opcode = FUSE_INIT;