Deleted Added
full compact
2c2
< * Copyright (c) 1997-2001 Erez Zadok
---
> * Copyright (c) 1997-2003 Erez Zadok
41c41
< * $Id: autil.c,v 1.4.2.2 2001/04/29 05:08:35 ib42 Exp $
---
> * $Id: autil.c,v 1.4.2.5 2003/04/14 01:23:09 ezk Exp $
289c289,295
< mp->am_flags |= AMF_NOTIMEOUT;
---
> mntent_t mnt;
> mnt.mnt_opts = mf->mf_mopts;
>
> if (mf->mf_mopts && hasmntopt(&mnt, "unmount"))
> mp->am_flags &= ~AMF_NOTIMEOUT;
> else
> mp->am_flags |= AMF_NOTIMEOUT;
297a304,305
> if (hasmntopt(&mnt, "unmount"))
> mp->am_flags &= ~AMF_NOTIMEOUT;