This is a back port of the patch to hwe-6.2-next, conflicts had been in the section below, as 6.2 does not have FUSE_CREATE_SUPP_GROUP
Initial patch for 6.5 ``` diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index d66070af145d0..660be31aaabc2 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -1254,7 +1254,8 @@ void fuse_send_init(struct fuse_mount *fm) FUSE_ABORT_ERROR | FUSE_MAX_PAGES | FUSE_CACHE_SYMLINKS | FUSE_NO_OPENDIR_SUPPORT | FUSE_EXPLICIT_INVAL_DATA | FUSE_HANDLE_KILLPRIV_V2 | FUSE_SETXATTR_EXT | FUSE_INIT_EXT | - FUSE_SECURITY_CTX | FUSE_CREATE_SUPP_GROUP; + FUSE_SECURITY_CTX | FUSE_CREATE_SUPP_GROUP | + FUSE_HAS_EXPIRE_ONLY;
```
Back ported version: ``` diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 06876afe5ae46..a86270fa2bf5f 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -1255,7 +1255,7 @@ void fuse_send_init(struct fuse_mount *fm) FUSE_ABORT_ERROR | FUSE_MAX_PAGES | FUSE_CACHE_SYMLINKS | FUSE_NO_OPENDIR_SUPPORT | FUSE_EXPLICIT_INVAL_DATA | FUSE_HANDLE_KILLPRIV_V2 | FUSE_SETXATTR_EXT | FUSE_INIT_EXT | - FUSE_SECURITY_CTX; + FUSE_SECURITY_CTX | FUSE_HAS_EXPIRE_ONLY; #ifdef CONFIG_FUSE_DAX if (fm->fc->dax) flags |= FUSE_MAP_ALIGNMENT; ```
Right now I didn't try to compile it yet, but could do if needed.
This is a back port of the patch to hwe-6.2-next, conflicts had been in the section below, as 6.2 does not have FUSE_CREATE_ SUPP_GROUP
Initial patch for 6.5 .660be31aaabc2 100644 init(struct fuse_mount *fm)
FUSE_ ABORT_ERROR | FUSE_MAX_PAGES | FUSE_CACHE_SYMLINKS |
FUSE_ NO_OPENDIR_ SUPPORT | FUSE_EXPLICIT_ INVAL_DATA |
FUSE_ HANDLE_ KILLPRIV_ V2 | FUSE_SETXATTR_EXT | FUSE_INIT_EXT | SUPP_GROUP; SUPP_GROUP | EXPIRE_ ONLY;
```
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index d66070af145d0.
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1254,7 +1254,8 @@ void fuse_send_
- FUSE_SECURITY_CTX | FUSE_CREATE_
+ FUSE_SECURITY_CTX | FUSE_CREATE_
+ FUSE_HAS_
```
Back ported version: .a86270fa2bf5f 100644 init(struct fuse_mount *fm)
FUSE_ ABORT_ERROR | FUSE_MAX_PAGES | FUSE_CACHE_SYMLINKS |
FUSE_ NO_OPENDIR_ SUPPORT | FUSE_EXPLICIT_ INVAL_DATA |
FUSE_ HANDLE_ KILLPRIV_ V2 | FUSE_SETXATTR_EXT | FUSE_INIT_EXT | EXPIRE_ ONLY;
flags |= FUSE_MAP_ALIGNMENT;
```
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 06876afe5ae46.
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1255,7 +1255,7 @@ void fuse_send_
- FUSE_SECURITY_CTX;
+ FUSE_SECURITY_CTX | FUSE_HAS_
#ifdef CONFIG_FUSE_DAX
if (fm->fc->dax)
```
Right now I didn't try to compile it yet, but could do if needed.