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