From: Li Zefan Date: Thu, 14 Jul 2011 03:16:00 +0000 (+0000) Subject: Btrfs: copy string correctly in INO_LOOKUP ioctl X-Git-Tag: v3.1-rc1~82^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77906a5075a4eb767026c2e07b1a412d08aea5be;p=pandora-kernel.git Btrfs: copy string correctly in INO_LOOKUP ioctl Memory areas [ptr, ptr+total_len] and [name, name+total_len] may overlap, so it's wrong to use memcpy(). Signed-off-by: Li Zefan Signed-off-by: Chris Mason --- Reading git-diff-tree failed