linux_dsm_epyc7002/fs/f2fs
Gu Zheng 63f5384c9a 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>
2014-01-22 18:41:08 +09:00
..
acl.c f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
acl.h f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
checkpoint.c f2fs: remove the orphan block page array 2014-01-22 18:41:08 +09:00
data.c f2fs: call mark_inode_dirty to flush dirty pages 2014-01-22 18:40:34 +09:00
debug.c f2fs: add help function META_MAPPING 2014-01-22 18:41:07 +09:00
dir.c f2fs: move a branch for code redability 2014-01-22 18:41:07 +09:00
f2fs.h f2fs: add help function META_MAPPING 2014-01-22 18:41:07 +09:00
file.c f2fs: clean checkpatch warnings 2014-01-20 10:27:12 +09:00
gc.c f2fs: remove the needless parameter of f2fs_wait_on_page_writeback 2014-01-14 17:45:54 +09:00
gc.h f2fs: add a sysfs entry to control max_victim_search 2014-01-08 13:45:08 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inline.c f2fs: remove the needless parameter of f2fs_wait_on_page_writeback 2014-01-14 17:45:54 +09:00
inode.c f2fs: clean checkpatch warnings 2014-01-20 10:27:12 +09:00
Kconfig f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control 2013-10-29 15:43:01 +09:00
Makefile f2fs: key functions to handle inline data 2013-12-26 20:40:09 +09:00
namei.c f2fs: call mark_inode_dirty to flush dirty pages 2014-01-22 18:40:34 +09:00
node.c f2fs: add help function META_MAPPING 2014-01-22 18:41:07 +09:00
node.h f2fs: update several comments 2013-12-23 10:26:03 +09:00
recovery.c f2fs: clean checkpatch warnings 2014-01-20 10:27:12 +09:00
segment.c f2fs: add help function META_MAPPING 2014-01-22 18:41:07 +09:00
segment.h f2fs: clean checkpatch warnings 2014-01-20 10:27:12 +09:00
super.c f2fs: clean checkpatch warnings 2014-01-20 10:27:12 +09:00
xattr.c f2fs: add unlikely() macro for compiler more aggressively 2013-12-23 10:18:06 +09:00
xattr.h f2fs: support the inline xattrs 2013-08-26 20:15:23 +09:00