MFC rev 1.292:
Set the mountpoint path in the superblock (fs_fsmnt) at mount-time so that it appears in the various messages (not cleanly unmounted, filesystem full, etc). This has been broken since rev 1.261. Approved by: re (scottl)
This commit is contained in:
parent
e98eb9d1e5
commit
bfc657ece4
@ -739,7 +739,8 @@ ffs_mountfs(devvp, mp, td)
|
||||
/*
|
||||
* Set FS local "last mounted on" information (NULL pad)
|
||||
*/
|
||||
vfs_mountedfrom(mp, fs->fs_fsmnt);
|
||||
bzero(fs->fs_fsmnt, MAXMNTLEN);
|
||||
strlcpy(fs->fs_fsmnt, mp->mnt_stat.f_mntonname, MAXMNTLEN);
|
||||
|
||||
if( mp->mnt_flag & MNT_ROOTFS) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user