linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fuse: fix wrong assignment of ->flags in fuse_send_init()
@ 2016-07-25 13:17 Wei Fang
  2016-07-26 10:14 ` Miklos Szeredi
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Fang @ 2016-07-25 13:17 UTC (permalink / raw)
  To: miklos; +Cc: linux-fsdevel, Wei Fang

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(-)

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;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fuse: fix wrong assignment of ->flags in fuse_send_init()
  2016-07-25 13:17 [PATCH] fuse: fix wrong assignment of ->flags in fuse_send_init() Wei Fang
@ 2016-07-26 10:14 ` Miklos Szeredi
  0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2016-07-26 10:14 UTC (permalink / raw)
  To: Wei Fang; +Cc: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-26 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25 13:17 [PATCH] fuse: fix wrong assignment of ->flags in fuse_send_init() Wei Fang
2016-07-26 10:14 ` Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).