From e2eb1abb105aa52e25fbf8973595ed2b6c64416d Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Thu, 19 Sep 2024 15:09:04 +0200 Subject: Add FUSE_CAP_NO_EXPORT and use it in passthrough_hp This should stop some more xfstest test failures. --- include/fuse_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index 1abac5a..85f0b23 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -494,6 +494,14 @@ struct fuse_loop_config_v1 { */ #define FUSE_CAP_PASSTHROUGH (1 << 29) +/** + * Indicates that the file system cannot handle NFS export + * + * If this flag is set NFS export and name_to_handle_at + * is not going to work at all and will fail with EOPNOTSUPP. + */ +#define FUSE_CAP_NO_EXPORT_SUPPORT (1 << 30) + /** * Ioctl flags * -- cgit v1.2.3