bcache: fix for gc crashing when no sectors are used
authorNicholas Swenson <nks@daterainc.com>
Fri, 1 Nov 2013 02:25:18 +0000 (19:25 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 16 Dec 2013 22:22:57 +0000 (14:22 -0800)
commitbee63f40cb5f5e8ab2abfbc85acde99cc0acd4b5
tree200af9c17b71b40af0b1bf44320e2030bdbdfaf5
parent97d11a660fd906dbea3dccd2638495d8497c3c81
bcache: fix for gc crashing when no sectors are used

Signed-off-by: Nicholas Swenson <nks@daterainc.com>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/movinggc.c