]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 5 Nov 2025 13:59:34 +0000 (13:59 +0000)
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/fuse_ll.cc

index bea60ecdfc46c4e89b57e6cbf05095b1257e2e88..451d1d2b911906b09af94b8a1dca051d9b552b60 100644 (file)
@@ -1491,6 +1491,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