linux-stable/fs/f2fs
Jan Kara 9bd27ae4aa f2fs: avoid returning uninitialized value to userspace from f2fs_trim_fs()
If user specifies too low end sector for trimming, f2fs_trim_fs() will
use uninitialized value as a number of trimmed blocks and returns it to
userspace. Initialize number of trimmed blocks early to avoid the
problem.

Coverity-id: 1248809
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2014-11-03 16:07:35 -08:00
..
acl.c f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -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: avoid to allocate when inline_data was written 2014-11-03 16:07:30 -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: reuse make_empty_dir code for inline_dentry 2014-11-03 16:07:34 -08:00
file.c f2fs: should not truncate any inline_dentry 2014-11-03 16:07:34 -08:00
gc.c f2fs: check the use of macros on block counts and addresses 2014-09-30 15:34:47 -07: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: remove unused return value 2014-10-05 21:05:15 -07:00
recovery.c f2fs: enable inline dir handling 2014-11-03 16:07:32 -08:00
segment.c f2fs: avoid returning uninitialized value to userspace from f2fs_trim_fs() 2014-11-03 16:07:35 -08:00
segment.h f2fs: support atomic writes 2014-10-06 17:39:50 -07:00
super.c f2fs: add a new mount option for inline dir 2014-11-03 16:07:31 -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