[PATCH 6.1 007/104] btrfs: avoid load/store tearing races when checking if an inode was logged