linux_dsm_epyc7002/fs/f2fs
Jan Kara 9234f3190b f2fs: fix possible data corruption in f2fs_write_begin()
f2fs_write_begin() doesn't initialize the 'dn' variable if the inode has
inline data. However it uses its contents to decide whether it should
just zero out the page or load data to it. Thus if we are unlucky we can
zero out page contents instead of loading inline data into a page.

CC: stable@vger.kernel.org
CC: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2014-11-03 16:07:37 -08:00
..
acl.c f2fs: remove the redundant function cond_clear_inode_flag 2014-11-03 16:07:36 -08:00
acl.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
checkpoint.c f2fs: avoid infinite loop at cp_error 2014-11-03 16:07:31 -08:00
data.c f2fs: fix possible data corruption in f2fs_write_begin() 2014-11-03 16:07:37 -08:00
debug.c f2fs: add stat info for inline_dentry inodes 2014-11-03 16:07:33 -08:00
dir.c f2fs: reuse make_empty_dir code for inline_dentry 2014-11-03 16:07:34 -08:00
f2fs.h f2fs: rename f2fs_set/clear_bit to f2fs_test_and_set/clear_bit 2014-11-03 16:07:36 -08:00
file.c f2fs: should not truncate any inline_dentry 2014-11-03 16:07:34 -08:00
gc.c f2fs: remove the seems unneeded argument 'type' from __get_victim 2014-11-03 16:07:35 -08:00
gc.h f2fs: fix typo 2014-08-19 10:01:33 -07:00
hash.c f2fs: fix wrong casting for dentry name 2014-08-29 00:26:50 -07:00
inline.c f2fs: declare f2fs_convert_inline_dir as a static function 2014-11-03 16:07:35 -08:00
inode.c f2fs: fix counting inline_data inode numbers 2014-11-03 16:07:33 -08:00
Kconfig f2fs: fix typo 2014-08-19 10:01:33 -07:00
Makefile f2fs: key functions to handle inline data 2013-12-26 20:40:09 +09:00
namei.c f2fs: fix counting inline_data inode numbers 2014-11-03 16:07:33 -08:00
node.c f2fs: refactor flush_nat_entries to remove costly reorganizing ops 2014-09-30 15:30:41 -07:00
node.h f2fs: introduce f2fs_change_bit to simplify the change bit logic 2014-11-03 16:07:36 -08:00
recovery.c f2fs: enable inline dir handling 2014-11-03 16:07:32 -08:00
segment.c f2fs: use current_sit_addr to replace the open code 2014-11-03 16:07:37 -08:00
segment.h f2fs: introduce f2fs_change_bit to simplify the change bit logic 2014-11-03 16:07:36 -08:00
super.c f2fs: set raw_super default to NULL to avoid compile warning 2014-11-03 16:07:36 -08:00
xattr.c f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
xattr.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00