summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2013-12-05 09:54:56 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-23 10:18:06 +0900
commitb9987a277f1ec9dba203d04c3a20d967c01a1fba (patch)
treeabb337cbc3d88aaa49836c191aa4f33e2226de43 /fs/f2fs/node.h
parenta0acdfe05a954363861a65eb537573ab417cb7ed (diff)
downloadblackbird-op-linux-b9987a277f1ec9dba203d04c3a20d967c01a1fba.tar.gz
blackbird-op-linux-b9987a277f1ec9dba203d04c3a20d967c01a1fba.zip
f2fs: avoid unneeded page release for correct _count of page
In find_fsync_dnodes() and recover_data(), our flow is like this: ->f2fs_submit_page_bio() -> f2fs_put_page() -> page_cache_release() ---- page->_count declined to zero. ->__free_pages() -> put_page_testzero() ---- page->_count will be declined again. We will get a segment fault in put_page_testzero when CONFIG_DEBUG_VM is on, or return MM with a bad page with wrong _count num. So let's just release this page. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud