[PATCH for 6.10 stable] btrfs: fix double inode unlock for direct IO sync writes