no MNT_UNION on OpenBSD

This commit is contained in:
Doug MacEachern 2008-02-17 22:31:26 +00:00
parent 717c1df381
commit 66e6243591
1 changed files with 2 additions and 0 deletions

View File

@ -1623,7 +1623,9 @@ static void get_fs_options(char *opts, int osize, long flags)
if (flags & MNT_NOEXEC) strncat(opts, ",noexec", osize); if (flags & MNT_NOEXEC) strncat(opts, ",noexec", osize);
if (flags & MNT_NOSUID) strncat(opts, ",nosuid", osize); if (flags & MNT_NOSUID) strncat(opts, ",nosuid", osize);
if (flags & MNT_NODEV) strncat(opts, ",nodev", osize); if (flags & MNT_NODEV) strncat(opts, ",nodev", osize);
#ifdef MNT_UNION
if (flags & MNT_UNION) strncat(opts, ",union", osize); if (flags & MNT_UNION) strncat(opts, ",union", osize);
#endif
if (flags & MNT_ASYNC) strncat(opts, ",async", osize); if (flags & MNT_ASYNC) strncat(opts, ",async", osize);
#ifdef MNT_NOATIME #ifdef MNT_NOATIME
if (flags & MNT_NOATIME) strncat(opts, ",noatime", osize); if (flags & MNT_NOATIME) strncat(opts, ",noatime", osize);