From 7164e8f2917ad064becdadcbc3b5daf25d9dd7f6 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 11 Jan 2005 12:02:26 +0000 Subject: [PATCH] Silently ignore forced argument to unmount. --- sys/fs/devfs/devfs_vfsops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index 4ca88e5ee26..4c1c7b8fa40 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)