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