[PATCH 6.16 003/183] btrfs: avoid load/store tearing races when checking if an inode was logged