f2fs: fix return value of releasepage for node and data
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 14 Mar 2013 00:24:32 +0000 (09:24 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 20 Mar 2013 09:30:13 +0000 (18:30 +0900)
commitc3850aa1cb25872fddacd7abd8dfb021411e92ee
treebca15120146f17ce472eb64718579f4d7ce8eaa0
parent48cb76c7be7056810cdcdcdcd8d90d3fdc4e250f
f2fs: fix return value of releasepage for node and data

If the return value of releasepage is equal to zero, the page cannot be reclaimed.
Instead, we should return 1 in order to reclaim clean pages.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
fs/f2fs/node.c