--- linux-6.1.12.old/fs/btrfs/inode.c +++ linux-6.1.12/fs/btrfs/inode.c @@ -6472,13 +6472,14 @@ } 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)), root->root_key.objectid, ret); } - +#endif /* * Subvolumes don't inherit ACLs or get passed to the LSM. This is * probably a bug.