Fix compilation of fstat.
The udev should now be obtained from the dosmount instead of the denode.
This commit is contained in:
parent
f05698585d
commit
00646e6e14
@ -110,7 +110,7 @@ msdosfs_filestat(struct vnode *vp, struct filestat *fsp)
|
||||
mnt->kptr = denode.de_pmp;
|
||||
}
|
||||
|
||||
fsp->fsid = dev2udev(denode.de_dev);
|
||||
fsp->fsid = dev2udev(mnt->data.pm_dev);
|
||||
fsp->mode = 0555;
|
||||
fsp->mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222;
|
||||
fsp->mode &= mnt->data.pm_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user