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