Slava Pestov 400ffaa2ac bcache: fix use-after-free in btree_gc_coalesce()
If we goto out_nocoalesce after we free new_nodes[0], we end up freeing
new_nodes[0] again. This was generating a lockdep warning. The fix is
to set new_nodes[0] to NULL, since the out_nocoalesce path safely
ignores NULL entries in the new_nodes array.

This regression was introduced in 2d7f9531.

Change-Id: I76564d7257800583214376b4bacf236cda90c89c
2014-08-04 15:23:04 -07:00
..
2014-04-18 14:20:48 +02:00
2014-01-08 13:05:08 -08:00
2014-04-18 14:20:48 +02:00
2014-08-04 15:23:02 -07:00
2014-08-04 15:23:02 -07:00
2013-11-23 22:33:57 -08:00
2014-02-25 18:42:49 -08:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2013-11-10 21:56:32 -08:00
2014-03-18 12:39:28 -07:00
2014-03-18 12:22:35 -07:00
2013-12-31 09:51:02 -07:00