[PATCH for 6.6 stable] btrfs: fix race between direct IO write and fsync when using same fd