mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
Silently ignore forced argument to unmount.
This commit is contained in:
parent
9ce4c18856
commit
7164e8f291
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140067
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue