Jeff Mahoney
896533a7da
btrfs: fix memory leak in update_space_info failure path
...
If we fail to add the space_info kobject, we'll leak the memory
for the percpu counter.
Fixes: 6ab0a2029c (btrfs: publish allocation data in sysfs)
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-06-01 16:56:31 +02:00
..
2017-04-18 14:07:25 +02:00
2016-09-22 10:55:32 +02:00
2017-01-09 11:24:50 +01:00
2016-12-13 11:01:30 -08:00
2017-04-18 14:07:25 +02:00
2017-04-26 16:27:26 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2017-04-18 14:07:24 +02:00
2017-02-28 14:26:36 +01:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:27 +02:00
2016-07-26 13:52:25 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:26 +02:00
2017-02-28 14:26:07 +01:00
2017-02-28 14:27:11 +01:00
2017-05-16 15:42:01 +02:00
2017-04-18 14:07:23 +02:00
2017-02-14 15:50:51 +01:00
2017-05-16 15:42:10 +02:00
2017-04-27 14:13:09 -07:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-06-01 16:56:31 +02:00
2017-02-28 14:35:09 -08:00
2017-04-27 14:13:09 -07:00
2017-04-18 14:07:26 +02:00
2017-02-17 12:03:56 +01:00
2017-02-17 12:03:51 +01:00
2015-12-17 12:16:47 -08:00
2016-06-06 14:08:28 +02:00
2016-06-06 14:08:28 +02:00
2016-12-06 16:06:59 +01:00
2017-02-28 11:30:07 +01:00
2016-01-15 19:25:02 +01:00
2017-06-01 16:56:17 +02:00
2017-04-18 14:07:25 +02:00
2016-01-07 14:30:52 +01:00
2017-02-28 14:26:36 +01:00
2015-12-17 12:16:47 -08:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2017-02-14 15:50:51 +01:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:26 +02:00
2016-12-06 16:06:59 +01:00
2017-04-18 14:07:25 +02:00
2017-02-28 11:30:10 +01:00
2017-04-18 14:07:27 +02:00
2017-04-18 14:07:27 +02:00
2017-04-26 16:27:25 +01:00
2016-01-07 14:38:02 +01:00
2016-05-25 22:35:14 +02:00
2017-04-18 14:07:25 +02:00
2016-09-26 18:08:44 +02:00
2016-01-21 18:50:40 +01:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:25 +02:00
2015-12-18 02:51:32 +00:00
2017-04-18 14:07:23 +02:00
2017-02-14 15:50:54 +01:00
2017-02-17 12:03:50 +01:00
2017-02-17 12:03:50 +01:00
2016-12-19 18:08:15 +01:00
2017-05-04 16:56:11 -07:00
2017-04-18 16:12:07 +02:00
2017-02-14 15:50:57 +01:00
2016-05-17 19:17:09 -04:00
2017-02-28 14:26:36 +01:00