Set f_mntfromname[] to "fdescfs" instead of "fdesc" for consistency
with other synthetic filesystems, which have f_mntfromname the same as f_fstypename. Noticed by Sean Kelly on -current.
This commit is contained in:
parent
bbaba031a5
commit
8e78890396
@ -96,7 +96,7 @@ fdesc_mount(mp, ndp, td)
|
||||
vfs_getnewfsid(mp);
|
||||
|
||||
bzero(mp->mnt_stat.f_mntfromname, MNAMELEN);
|
||||
bcopy("fdesc", mp->mnt_stat.f_mntfromname, sizeof("fdesc"));
|
||||
bcopy("fdescfs", mp->mnt_stat.f_mntfromname, sizeof("fdescfs"));
|
||||
(void)fdesc_statfs(mp, &mp->mnt_stat, td);
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user