Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Enable passing of the MNT_SOFTDEP flag in the mount...
details: https://anonhg.NetBSD.org/src/rev/f984341e4c2a
branches: trunk
changeset: 487957:f984341e4c2a
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu Jun 15 22:32:44 2000 +0000
description:
Enable passing of the MNT_SOFTDEP flag in the mount system call.
diffstat:
sys/kern/vfs_syscalls.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 169de0448b4b -r f984341e4c2a sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c Thu Jun 15 21:20:16 2000 +0000
+++ b/sys/kern/vfs_syscalls.c Thu Jun 15 22:32:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.156 2000/04/17 14:31:22 mrg Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.157 2000/06/15 22:32:44 fvdl Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -308,10 +308,11 @@
mp->mnt_flag |= MNT_WANTRDWR;
mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | MNT_NOCOREDUMP |
- MNT_NOATIME | MNT_NODEVMTIME | MNT_SYMPERM);
+ MNT_NOATIME | MNT_NODEVMTIME | MNT_SYMPERM | MNT_SOFTDEP);
mp->mnt_flag |= SCARG(uap, flags) & (MNT_NOSUID | MNT_NOEXEC |
MNT_NODEV | MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC |
- MNT_NOCOREDUMP | MNT_NOATIME | MNT_NODEVMTIME | MNT_SYMPERM);
+ MNT_NOCOREDUMP | MNT_NOATIME | MNT_NODEVMTIME | MNT_SYMPERM |
+ MNT_SOFTDEP);
/*
* Mount the filesystem.
*/
Home |
Main Index |
Thread Index |
Old Index