[PATCH 6.16 002/183] btrfs: fix race between setting last_dir_index_offset and inode logging