aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_attr_leaf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr_leaf.c b/fs/xfs/xfs_attr_leaf.c
index 4dba2f9455f4..86db20a9cc02 100644
--- a/fs/xfs/xfs_attr_leaf.c
+++ b/fs/xfs/xfs_attr_leaf.c
@@ -626,7 +626,7 @@ xfs_attr_shortform_getvalue(xfs_da_args_t *args)
626 xfs_attr_sf_entry_t *sfe; 626 xfs_attr_sf_entry_t *sfe;
627 int i; 627 int i;
628 628
629 ASSERT(args->dp->i_d.di_aformat == XFS_IFINLINE); 629 ASSERT(args->dp->i_afp->if_flags == XFS_IFINLINE);
630 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; 630 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data;
631 sfe = &sf->list[0]; 631 sfe = &sf->list[0];
632 for (i = 0; i < sf->hdr.count; 632 for (i = 0; i < sf->hdr.count;