[PATCH 5.4 37/48] btrfs: fix race between marking inode needs to be logged and log syncing