[xfs-masters] [Bug 109001] xfs_readdir reports differ file type of xfs_vn_getattr in v2 dirs

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Dec 7 14:55:34 CST 2015


https://bugzilla.kernel.org/show_bug.cgi?id=109001

Dave Chinner <david at fromorbit.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at fromorbit.com

--- Comment #1 from Dave Chinner <david at fromorbit.com> ---
Emitting DT_UNKOWN is expeceted behaviour if the filesystem does provide dirent
type information to readdir. XFS filesystems that do not have the "mkfs.xfs -n
ftype=1" parameter set will behave this way (have for 15 years). "ftype=1" is
the default in recent xfsprogs releases so new filesystems will return types
other than DT_UNKNOWN, but old/existing filesytsem without this parameter set
will always return DT_UNKNOWN.

Not a bug, nothing needs fixing, please close.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the xfs-masters mailing list