Remove the horror that was the global smb_rw_error.