* Unmount a mqfs instance */
| 617 | * Unmount a mqfs instance |
| 618 | */ |
| 619 | static int |
| 620 | mqfs_unmount(struct mount *mp, int mntflags) |
| 621 | { |
| 622 | int error; |
| 623 | |
| 624 | error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, |
| 625 | curthread); |
| 626 | return (error); |
| 627 | } |
| 628 | |
| 629 | /* |
| 630 | * Return a root vnode |