summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-10-29 15:45:37 -0400
committerJeff Layton <jlayton@samba.org>2012-10-29 15:45:37 -0400
commit035f69a9b5fe3c72df73bbbda2d7e570891f971e (patch)
tree74826ecf5a829994bd7ce17d60bc7620ed5e9e2e /ChangeLog
parentd9b876bc5b047682854123aed082c1004b995b69 (diff)
downloadcifs-utils-035f69a9b5fe3c72df73bbbda2d7e570891f971e.tar.gz
cifs-utils-035f69a9b5fe3c72df73bbbda2d7e570891f971e.tar.bz2
cifs-utils-035f69a9b5fe3c72df73bbbda2d7e570891f971e.zip
cifs.idmap: clean up strget and avoid memory allocation
Don't do a strlen() call if strstr() isn't going to match anyway. There's no need to duplicate the string here. None of the callers modify it, so just return a pointer into the original string. Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions