aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_attr_leaf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr_leaf.c b/fs/xfs/xfs_attr_leaf.c
index 8eeb88fb3201..0bce1b348580 100644
--- a/fs/xfs/xfs_attr_leaf.c
+++ b/fs/xfs/xfs_attr_leaf.c
@@ -2332,9 +2332,10 @@ xfs_attr3_leaf_lookup_int(
2332 if (!xfs_attr_namesp_match(args->flags, entry->flags)) 2332 if (!xfs_attr_namesp_match(args->flags, entry->flags))
2333 continue; 2333 continue;
2334 args->index = probe; 2334 args->index = probe;
2335 args->valuelen = be32_to_cpu(name_rmt->valuelen);
2335 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); 2336 args->rmtblkno = be32_to_cpu(name_rmt->valueblk);
2336 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount, 2337 args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount,
2337 be32_to_cpu(name_rmt->valuelen)); 2338 args->valuelen);
2338 return XFS_ERROR(EEXIST); 2339 return XFS_ERROR(EEXIST);
2339 } 2340 }
2340 } 2341 }