PM / Hibernate: Correct additional pages number calculation
authorNamhyung Kim <[email protected]>
Thu, 19 Jan 2012 22:23:10 +0000 (23:23 +0100)
committerRafael J. Wysocki <[email protected]>
Thu, 19 Jan 2012 22:23:10 +0000 (23:23 +0100)
commit160cb5a97daef0cb894685d84c9d4700bb7cccb4
tree91b8fd151fad423572a686ee94295a84754c0347
parent5eb6f9ad96967be4e0da55521a253e11b534bd3f
PM / Hibernate: Correct additional pages number calculation

The struct bm_block is allocated by chain_alloc(),
so it'd better counting it in LINKED_PAGE_DATA_SIZE.

Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
kernel/power/snapshot.c