--- linux-6.11.5.old/fs/btrfs/inode.c +++ linux-6.11.5/fs/btrfs/inode.c @@ -6389,11 +6389,13 @@ } else { ret = btrfs_inode_inherit_props(trans, inode, dir); } +#ifdef NOTDEF if (ret) { btrfs_err(fs_info, "error inheriting props for ino %llu (root %llu): %d", btrfs_ino(BTRFS_I(inode)), btrfs_root_id(root), ret); } +#endif /* * Subvolumes don't inherit ACLs or get passed to the LSM. This is