]> Git Repo - linux.git/commit
btrfs: simplify kmalloc+copy_from_user to memdup_user
authorGeyslan G. Bem <[email protected]>
Mon, 14 Oct 2013 15:18:25 +0000 (12:18 -0300)
committerChris Mason <[email protected]>
Tue, 12 Nov 2013 03:01:51 +0000 (22:01 -0500)
commit229eed4348a482c11cf8d494392305a85ed478f9
tree75a61b745783374021ac35d2f367377cdbffd114
parent5ede859b00af261c78b3848a362253c76652e035
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ioctl.c
This page took 0.050501 seconds and 4 git commands to generate.