|
@@ -2332,9 +2332,10 @@ xfs_attr3_leaf_lookup_int(
|
|
if (!xfs_attr_namesp_match(args->flags, entry->flags))
|
|
if (!xfs_attr_namesp_match(args->flags, entry->flags))
|
|
continue;
|
|
continue;
|
|
args->index = probe;
|
|
args->index = probe;
|
|
|
|
+ args->valuelen = be32_to_cpu(name_rmt->valuelen);
|
|
args->rmtblkno = be32_to_cpu(name_rmt->valueblk);
|
|
args->rmtblkno = be32_to_cpu(name_rmt->valueblk);
|
|
args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount,
|
|
args->rmtblkcnt = XFS_B_TO_FSB(args->dp->i_mount,
|
|
- be32_to_cpu(name_rmt->valuelen));
|
|
|
|
|
|
+ args->valuelen);
|
|
return XFS_ERROR(EEXIST);
|
|
return XFS_ERROR(EEXIST);
|
|
}
|
|
}
|
|
}
|
|
}
|