Dan is absolutely correct re smoke removal inflight by opening either one or two main deck doors. Depends where the source of smoke is whether one or both doors (L2 & L4) need to be "cracked" open. Procedure has its own checklist, cabin crew are fully briefed & trained. Obviously be coordinated from the flight deck if the Captain deems it necessary.