SPB ameliorated cerebral infarct size and edema volume in ischemic strokes associated with type 2 diabetes by reducing ER stress. Here, SFTPB is linked to brain infarction.