diff options
author | Mike Marshall <hubcap@omnibond.com> | 2016-04-06 11:19:37 -0400 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-04-08 14:08:27 -0400 |
commit | a9bb3ba81fba1750139654360cb716ab093103b0 (patch) | |
tree | 98483c708424a6aa36a66a823d6e90fc9102840f /fs/afs/internal.h | |
parent | 2d09a2ca6a6c66d765458df2653f888c4a481c81 (diff) | |
download | op-kernel-dev-a9bb3ba81fba1750139654360cb716ab093103b0.zip op-kernel-dev-a9bb3ba81fba1750139654360cb716ab093103b0.tar.gz |
Orangefs: optimize boilerplate code.
Suggested by David Binderman <dcb314@hotmail.com>
The former can potentially be a performance win over the latter.
memcpy(d, s, len);
memset(d+len, c, size-len);
memset(d, c, size);
memcpy(d, s, len);
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/afs/internal.h')
0 files changed, 0 insertions, 0 deletions