[PATCH v2 1/2] btrfs: fix double accounting race in extent_writepage()