summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorGeyslan G. Bem <geyslan@gmail.com>2013-10-14 12:18:25 -0300
committerChris Mason <chris.mason@fusionio.com>2013-11-11 22:01:51 -0500
commit229eed4348a482c11cf8d494392305a85ed478f9 (patch)
tree75a61b745783374021ac35d2f367377cdbffd114 /fs/btrfs/tree-log.c
parent5ede859b00af261c78b3848a362253c76652e035 (diff)
downloadlwn-229eed4348a482c11cf8d494392305a85ed478f9.tar.gz
lwn-229eed4348a482c11cf8d494392305a85ed478f9.zip
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 <geyslan@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions