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.
This commit is contained in:
parent
03b25f5ddc
commit
93373c422f
@ -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