summaryrefslogtreecommitdiff
path: root/fs/f2fs/debug.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-01-20 18:37:30 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-01-22 18:41:08 +0900
commit63f5384c9a7df95a0e0eb6745f3038c703bdf4c3 (patch)
treefa9316dc060b249f9881f5c7adc5ed0d3358163a /fs/f2fs/debug.c
parent9df27d982d58b9372bc476fb6b9bab861d617029 (diff)
f2fs: remove the orphan block page array
As the orphan_blocks may be max to 504, so it is not security and rigorous to store such a large array in the kernel stack as Dan Carpenter said. In fact, grab_meta_page has locked the page in the page cache, and we can use find_get_page() to fetch the page safely in the downstream, so we can remove the page array directly. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/debug.c')
0 files changed, 0 insertions, 0 deletions