mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +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 New Issue
Block a user