Repair this:
ext2fs fails to set the device in the stat(2) system call. Subsequently, that makes fts(3) fail, which goes as far as make ls(1) fail (which uses fts) on ext2fs. Approved by: re (Robert Watson <rwatson@FreeBSD.org>)
This commit is contained in:
parent
fbf1556d46
commit
ae5d0b81a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147868
@ -346,6 +346,7 @@ ext2_getattr(ap)
|
||||
/*
|
||||
* Copy from inode table
|
||||
*/
|
||||
vap->va_fsid = dev2udev(ip->i_devvp->v_rdev);
|
||||
vap->va_fileid = ip->i_number;
|
||||
vap->va_mode = ip->i_mode & ~IFMT;
|
||||
vap->va_nlink = ip->i_nlink;
|
||||
|
Loading…
Reference in New Issue
Block a user