]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT
authorAndrew Gallagher <andrewjcg@fb.com>
Tue, 22 Jul 2014 14:37:43 +0000 (16:37 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 22 Jul 2014 14:37:43 +0000 (16:37 +0200)
commitad0262107f922bb31f7f6791f9f3cc3705f1b05b
tree18df4aca0d0cc0427aa3082cfd2c6ac55d22aeff
parentdd2170f8fac7adfd8d16d727f5d072fcbd9a054c
fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT

Here some additional changes to set a capability flag so that clients can
detect when it's appropriate to return -ENOSYS from open.

This amends the following commit introduced in 3.14:

  1b01c9b0f851  fuse: support clients that don't implement 'open'

However we can only add the flag to 3.15 and later since there was no
protocol version update in 3.14.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: <stable@vger.kernel.org> # v3.15+
fs/fuse/inode.c
include/uapi/linux/fuse.h