summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_vfsops.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-11-09 18:02:25 +0000
committerattilio <attilio@FreeBSD.org>2012-11-09 18:02:25 +0000
commitd5d551ec46edfdd7b35884740863514cf342c207 (patch)
tree85566631342fad6e72bb3ce702047490a06985fb /sys/fs/unionfs/union_vfsops.c
parent6cb17a3f471ee1a94b7f2499509c2d5bd597f04e (diff)
downloadFreeBSD-src-d5d551ec46edfdd7b35884740863514cf342c207.zip
FreeBSD-src-d5d551ec46edfdd7b35884740863514cf342c207.tar.gz
Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag.
Porters should refer to __FreeBSD_version 1000021 for this change as it may have happened at the same timeframe.
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r--sys/fs/unionfs/union_vfsops.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c
index 936df4c..c6586e2 100644
--- a/sys/fs/unionfs/union_vfsops.c
+++ b/sys/fs/unionfs/union_vfsops.c
@@ -266,11 +266,6 @@ unionfs_domount(struct mount *mp)
ump->um_copymode = copymode;
ump->um_whitemode = whitemode;
- MNT_ILOCK(mp);
- if ((lowerrootvp->v_mount->mnt_kern_flag & MNTK_MPSAFE) &&
- (upperrootvp->v_mount->mnt_kern_flag & MNTK_MPSAFE))
- mp->mnt_kern_flag |= MNTK_MPSAFE;
- MNT_IUNLOCK(mp);
mp->mnt_data = ump;
/*
OpenPOWER on IntegriCloud