Commit a0e959d3 authored by Dave Chinner's avatar Dave Chinner Committed by Darrick J. Wong

xfs: remove unnecessary indenting from xfs_attr3_leaf_getvalue

Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 728bcaa3
......@@ -2391,7 +2391,9 @@ xfs_attr3_leaf_getvalue(
}
args->valuelen = valuelen;
memcpy(args->value, &name_loc->nameval[args->namelen], valuelen);
} else {
return 0;
}
name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index);
ASSERT(name_rmt->namelen == args->namelen);
ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0);
......@@ -2408,7 +2410,6 @@ xfs_attr3_leaf_getvalue(
return -ERANGE;
}
args->valuelen = args->rmtvaluelen;
}
return 0;
}
......
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