diff options
author | phk <phk@FreeBSD.org> | 2005-01-11 12:02:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-11 12:02:26 +0000 |
commit | ea3239f358f08c54ccdd1c92c60376244d3f13ef (patch) | |
tree | 42669938eaff011acf7704fb423bc9ebbe0ebe8e /sys/fs/devfs/devfs_vfsops.c | |
parent | 205c9af3d3a38a9d4ff57fe389dc9c2117521941 (diff) | |
download | FreeBSD-src-ea3239f358f08c54ccdd1c92c60376244d3f13ef.zip FreeBSD-src-ea3239f358f08c54ccdd1c92c60376244d3f13ef.tar.gz |
Silently ignore forced argument to unmount.
Diffstat (limited to 'sys/fs/devfs/devfs_vfsops.c')
-rw-r--r-- | sys/fs/devfs/devfs_vfsops.c | 2 |
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) |