Shailendra Verma 7b9ea6279b btrfs: return early from failed memory allocations in ioctl handlers
There is no need to call kfree() if memdup_user() fails, as no memory
was allocated and the error in the error-valued pointer should be returned.

Signed-off-by: Shailendra Verma <shailendra.v@samsung.com>
[ edit subject ]
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-30 13:45:18 +01:00
..
2016-09-26 18:08:44 +02:00
2016-09-26 18:08:44 +02:00
2015-10-06 06:55:23 -07:00
2008-09-25 11:04:06 -04:00
2016-07-26 13:52:25 +02:00
2016-11-30 13:45:14 +01:00
2016-09-26 18:08:44 +02:00
2016-09-26 17:59:49 +02:00
2016-09-26 18:08:44 +02:00
2016-09-26 18:08:44 +02:00