Silently ignore forced argument to unmount.

This commit is contained in:
Poul-Henning Kamp 2005-01-11 12:02:26 +00:00
parent 9ce4c18856
commit 7164e8f291
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140067

View file

@ -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)