From: Jamie Liu Date: Thu, 23 Jan 2014 23:53:40 +0000 (-0800) Subject: mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loop X-Git-Tag: v3.14-rc1~108^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5998061daab27802c418debe662be98a6e42874;p=pandora-kernel.git mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loop In the second half of scan_swap_map()'s scan loop, offset is set to si->lowest_bit and then incremented before entering the loop for the first time, causing si->swap_map[si->lowest_bit] to be skipped. Signed-off-by: Jamie Liu Cc: Shaohua Li Acked-by: Hugh Dickins Cc: Minchan Kim Cc: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed