Per CBC 716.6.7.2 the area is limited to "25% of the area of a common wall with any room". For a corridor situation, would that be 25% of the overall area of the entire corridor wall, or would it be 25% of the area of the wall that is common to both rooms.