Commit 890eaf13 authored by Stephen Lord's avatar Stephen Lord

[XFS] report extended attribute existence in the xattr flags field

SGI Modid: 2.5.x-xfs:slinx:146356a
parent 8e23b549
......@@ -227,7 +227,9 @@ xfs_getattr(
((ip->i_d.di_flags & XFS_DIFLAG_REALTIME) ?
XFS_XFLAG_REALTIME : 0) |
((ip->i_d.di_flags & XFS_DIFLAG_PREALLOC) ?
XFS_XFLAG_PREALLOC : 0);
XFS_XFLAG_PREALLOC : 0) |
(XFS_IFORK_Q(ip) ?
XFS_XFLAG_HASATTR : 0);
vap->va_extsize = ip->i_d.di_extsize << mp->m_sb.sb_blocklog;
vap->va_nextents =
(ip->i_df.if_flags & XFS_IFEXTENTS) ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment