android_kernel_google_msm/fs/ext3
Jan Kara 6cbe67f990 ext3: Fix fdatasync() for files with only i_size changes
commit 156bddd8e5 upstream.

Code tracking when transaction needs to be committed on fdatasync(2) forgets
to handle a situation when only inode's i_size is changed. Thus in such
situations fdatasync(2) doesn't force transaction with new i_size to disk
and that can result in wrong i_size after a crash.

Fix the issue by updating inode's i_datasync_tid whenever its size is
updated.

Reported-by: Kristian Nielsen <knielsen@knielsen-hq.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-14 10:00:32 -07:00
..
acl.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
acl.h
balloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
bitmap.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
dir.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ext3.h ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ext3_jbd.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
file.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
fsync.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
hash.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
ialloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
inode.c ext3: Fix fdatasync() for files with only i_size changes 2012-09-14 10:00:32 -07:00
ioctl.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
Kconfig
Makefile
namei.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
namei.h
resize.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
super.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
symlink.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.h
xattr_security.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_trusted.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_user.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00