Skip to content

Commit

Permalink
fuse: fix wrong assignment of ->flags in fuse_send_init()
Browse files Browse the repository at this point in the history
commit 9446385f05c9af25fed53dbed3cc75763730be52 upstream.

FUSE_HAS_IOCTL_DIR should be assigned to ->flags, it may be a typo.

Signed-off-by: Wei Fang <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Fixes: 69fe05c ("fuse: add missing INIT flags")
Cc: <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
  • Loading branch information
FWei-HW authored and wtarreau committed Aug 27, 2016
1 parent 23cf0b7 commit 7f92e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fuse/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,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;
req->in.h.opcode = FUSE_INIT;
req->in.numargs = 1;
Expand Down

0 comments on commit 7f92e56

Please sign in to comment.