[PATCH 4/4 for 6.1 stable] btrfs: fix race between reading a directory and adding entries to it