fuse: add feature flag for expire-only
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 27 Mar 2023 14:14:49 +0000 (16:14 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 7 Jun 2023 14:26:33 +0000 (16:26 +0200)
commit5cadfbd5a11e5495cac217534c5f788168b1afd7
treee7b46a23132d2fc4c7eef42623ea5a384d9bde99
parentac9a78681b921877518763ba0e89202254349d1b
fuse: add feature flag for expire-only

Add an init flag idicating whether the FUSE_EXPIRE_ONLY flag of
FUSE_NOTIFY_INVAL_ENTRY is effective.

This is needed for backports of this feature, otherwise the server could
just check the protocol version.

Fixes: 4f8d37020e1f ("fuse: add "expire only" mode to FUSE_NOTIFY_INVAL_ENTRY")
Cc: <stable@vger.kernel.org> # v6.2
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/inode.c
include/uapi/linux/fuse.h