android_kernel_samsung_msm8976/fs/ext4
Lukas Czerner 8164ddf1f6 ext4: fix FITRIM in no journal mode
commit 8f9ff189205a6817aee5a1f996f876541f86e07c upstream.

When using FITRIM ioctl on a file system without journal it will
only trim the block group once, no matter how many times you invoke
FITRIM ioctl and how many block you release from the block group.

It is because we only clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT in journal
callback. Fix this by clearing the bit in no journal mode as well.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: Jorge Fábregas <jorge.fabregas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09 12:24:21 -08:00
..
acl.c
acl.h
balloc.c ext4: fix ext4_get_group_number() 2013-07-21 18:21:33 -07:00
bitmap.c
block_validity.c
dir.c ext4: fix readdir error in the case of inline_data+dir_index 2013-04-19 17:53:09 -04:00
ext4.h ext4: add explicit casts when masking cluster sizes 2014-01-09 12:24:21 -08:00
ext4_extents.h ext4: mext_insert_extents should update extent block checksum 2013-04-19 14:04:12 -04:00
ext4_jbd2.c ext4: call ext4_error_inode() if jbd2_journal_dirty_metadata() fails 2014-01-09 12:24:21 -08:00
ext4_jbd2.h
extents.c ext4: add explicit casts when masking cluster sizes 2014-01-09 12:24:21 -08:00
extents_status.c ext4: fix fio regression 2013-05-03 02:15:52 -04:00
extents_status.h ext4: fix fio regression 2013-05-03 02:15:52 -04:00
file.c ext4: fix overflows in SEEK_HOLE, SEEK_DATA implementations 2013-07-21 18:21:32 -07:00
fsync.c
hash.c
ialloc.c ext4: make sure group number is bumped after a inode allocation race 2013-08-14 22:59:05 -07:00
indirect.c aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00
inline.c ext4: fix data offset overflow on 32-bit archs in ext4_inline_data_fiemap() 2013-07-21 18:21:32 -07:00
inode.c ext4: fix deadlock when writing in ENOSPC conditions 2014-01-09 12:24:21 -08:00
ioctl.c ext4: flush the extent status cache during EXT4_IOC_SWAP_BOOT 2013-08-14 22:59:09 -07:00
Kconfig ext4: fix Kconfig documentation for CONFIG_EXT4_DEBUG 2013-04-21 20:32:03 -04:00
Makefile
mballoc.c ext4: fix FITRIM in no journal mode 2014-01-09 12:24:21 -08:00
mballoc.h
migrate.c
mmp.c ext4: mark all metadata I/O with REQ_META 2013-04-20 15:46:17 -04:00
move_extent.c ext4: mext_insert_extents should update extent block checksum 2013-04-19 14:04:12 -04:00
namei.c ext3,ext4: don't mess with dir_file->f_pos in htree_dirblock_to_tree() 2013-07-21 18:21:23 -07:00
page-io.c Fixed regressions (two stability regressions and a performance 2013-05-14 09:30:54 -07:00
resize.c ext4: fix corruption when online resizing a fs with 1K block size 2013-07-21 18:21:23 -07:00
super.c ext4: Do not reserve clusters when fs doesn't support extents 2014-01-09 12:24:21 -08:00
symlink.c
truncate.h
xattr.c ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea() 2013-12-04 10:56:24 -08:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c