[PATCH v3, 12/16] xfsprogs: metadump: no need for local copy of name when obfuscating

Dave Chinner david at fromorbit.com
Wed Feb 23 20:04:55 CST 2011


On Fri, Feb 18, 2011 at 03:21:02PM -0600, Alex Elder wrote:
> The local "newname" buffer in obfuscate_name() is used to hold
> an obfuscated name as it gets generated.  But it is always copied
> back into the passed-in name buffer, so we might as well just use
> the name buffer passed directly and avoid the copy.
> 
> Signed-off-by: Alex Elder <aelder at sgi.com>

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list