android_kernel_google_msm/fs/ext4
Darrick J. Wong 2ba0674bed ext4: don't retry file block mapping on bigalloc fs with non-extent file
commit 292db1bc6c105d86111e858859456bcb11f90f91 upstream.

ext4 isn't willing to map clusters to a non-extent file.  Don't signal
this with an out of space error, since the FS will retry the
allocation (which didn't fail) forever.  Instead, return EUCLEAN so
that the operation will fail immediately all the way back to userspace.

(The fix is either to run e2fsck -E bmap2extent, or to chattr +e the file.)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-10-22 09:20:05 +08:00
..
acl.c
acl.h
balloc.c ext4: convert number of blocks to clusters properly 2013-04-05 10:04:36 -07:00
bitmap.c
block_validity.c
dir.c
ext4.h ext4: add ext4_iget_normal() which is to be used for dir tree lookups 2015-02-02 17:04:53 +08:00
ext4_extents.h
ext4_jbd2.c jbd2: Fix use after free after error in jbd2_journal_dirty_metadata() 2013-08-20 08:26:29 -07:00
ext4_jbd2.h ext4: fix journal callback list traversal 2013-05-07 19:51:57 -07:00
extents.c ext4: check for zero length extent explicitly 2015-09-18 09:20:40 +08:00
file.c ext4: use i_size_read in ext4_unaligned_aio() 2014-05-06 07:51:46 -07:00
fsync.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-14 17:33:58 +08:00
hash.c
ialloc.c ext4: fix oops when loading block bitmap failed 2015-02-02 17:05:08 +08:00
indirect.c ext4: don't retry file block mapping on bigalloc fs with non-extent file 2015-10-22 09:20:05 +08:00
inode.c ext4: fix race between truncate and __ext4_journalled_writepage() 2015-10-22 09:20:04 +08:00
ioctl.c
Kconfig ext4: fix Kconfig documentation for CONFIG_EXT4_DEBUG 2013-05-07 19:51:57 -07:00
Makefile
mballoc.c ext4: fix wrong assert in ext4_mb_normalize_request() 2014-06-30 20:01:31 -07:00
mballoc.h
migrate.c
mmp.c ext4: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
move_extent.c
namei.c ext4: make fsync to sync parent dir in no-journal for real this time 2015-09-18 09:20:27 +08:00
page-io.c ext4: fix possible use-after-free with AIO 2014-03-11 16:10:05 -07:00
resize.c ext4: fix overflow when updating superblock backups after resize 2015-02-02 17:05:08 +08:00
super.c ext4: call sync_blockdev() before invalidate_bdev() in put_super() 2015-10-22 09:20:05 +08:00
symlink.c
truncate.h
xattr.c ext4: check EA value offset when loading 2015-02-02 17:04:51 +08:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c