]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
fuse: enable ioctl on dir for fscrypt
authorChristopher Hoffman <choffman@redhat.com>
Thu, 27 Jun 2024 18:50:21 +0000 (18:50 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 14 Aug 2025 20:08:09 +0000 (20:08 +0000)
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/fuse_ll.cc

index ba15e7bd06e616926ec264c949738f9f1f544f40..5c87306db2fd58e4e83d2e517ff4eafff96f2de4 100644 (file)
@@ -1488,6 +1488,9 @@ static void do_init(void *data, fuse_conn_info *conn)
   if(conn->capable & FUSE_CAP_SPLICE_MOVE)
     conn->want |= FUSE_CAP_SPLICE_MOVE;
 
+  if(conn->capable & FUSE_CAP_IOCTL_DIR)
+    conn->want |= FUSE_CAP_IOCTL_DIR;
+
 #if !defined(__APPLE__)
   if (!client->get_fuse_default_permissions() && client->ll_handle_umask()) {
     // apply umask in userspace if posix acl is enabled