From: Geyslan G. Bem Date: Mon, 14 Oct 2013 15:18:25 +0000 (-0300) Subject: btrfs: simplify kmalloc+copy_from_user to memdup_user X-Git-Tag: v3.13-rc1~85^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229eed4348a482c11cf8d494392305a85ed478f9;p=pandora-kernel.git btrfs: simplify kmalloc+copy_from_user to memdup_user Use memdup_user rather than duplicating its implementation This is a little bit restricted to reduce false positives The semantic patch that makes this report is available in scripts/coccinelle/api/memdup_user.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Geyslan G. Bem Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed