summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-11 12:02:26 +0000
committerphk <phk@FreeBSD.org>2005-01-11 12:02:26 +0000
commitea3239f358f08c54ccdd1c92c60376244d3f13ef (patch)
tree42669938eaff011acf7704fb423bc9ebbe0ebe8e /sys/fs/devfs
parent205c9af3d3a38a9d4ff57fe389dc9c2117521941 (diff)
downloadFreeBSD-src-ea3239f358f08c54ccdd1c92c60376244d3f13ef.zip
FreeBSD-src-ea3239f358f08c54ccdd1c92c60376244d3f13ef.tar.gz
Silently ignore forced argument to unmount.
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r--sys/fs/devfs/devfs_vfsops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c
index 4ca88e5..4c1c7b8 100644
--- a/sys/fs/devfs/devfs_vfsops.c
+++ b/sys/fs/devfs/devfs_vfsops.c
@@ -121,8 +121,6 @@ devfs_unmount(mp, mntflags, td)
struct devfs_mount *fmp;
fmp = VFSTODEVFS(mp);
- if (mntflags & MNT_FORCE)
- return (EOPNOTSUPP);
/* There is 1 extra root vnode reference from devfs_mount(). */
error = vflush(mp, 1, flags, td);
if (error)
OpenPOWER on IntegriCloud