+ if ((mp->m_flag & M_UPDATE) == 0) {
+ error = mountfs(devvp, mp);
+ } else {
+ ump = VFSTOUFS(mp);
+ fs = ump->um_fs;
+ if (fs->fs_ronly && (mp->m_flag & M_RDONLY) == 0)
+ fs->fs_ronly = 0;
+ /*
+ * Verify that the specified device is the one that
+ * is really being used for the root file system.
+ */
+ if (devvp != ump->um_devvp)
+ error = EINVAL; /* needs translation */
+ }