android_kernel_google_msm/fs/ext4
Theodore Ts'o 07cf4db32b ext4: add ext4_iget_normal() which is to be used for dir tree lookups
commit f4bb298102 upstream.

If there is a corrupted file system which has directory entries that
point at reserved, metadata inodes, prohibit them from being used by
treating them the same way we treat Boot Loader inodes --- that is,
mark them to be bad inodes.  This prohibits them from being opened,
deleted, or modified via chmod, chown, utimes, etc.

In particular, this prevents a corrupted file system which has a
directory entry which points at the journal inode from being deleted
and its blocks released, after which point Much Hilarity Ensues.

Reported-by: Sami Liedes <sami.liedes@iki.fi>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-02-02 17:04:53 +08:00
..
acl.c ext4: fix memory leak in ext4_xattr_set_acl()'s error path 2013-01-17 08:50:45 -08:00
acl.h fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
balloc.c ext4: convert number of blocks to clusters properly 2013-04-05 10:04:36 -07:00
bitmap.c ext4: fix overhead calculation used by ext4_statfs() 2012-08-09 08:31:41 -07:00
block_validity.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
dir.c Merge branch 'for-3.4' of git://linux-nfs.org/~bfields/linux 2012-03-29 14:53:25 -07:00
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: add no_printk argument validation, fix fallout 2012-03-19 23:11:43 -04:00
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: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
file.c ext4: use i_size_read in ext4_unaligned_aio() 2014-05-06 07:51:46 -07:00
fsync.c ext4/jbd2: don't wait (forever) for stale tid caused by wraparound 2014-03-11 16:10:05 -07:00
hash.c ext4: return 32/64-bit dir name hash according to usage type 2012-03-18 22:44:40 -04:00
ialloc.c ext4: protect group inode free counting with group lock 2014-02-20 10:45:32 -08:00
indirect.c ext4: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
inode.c ext4: add ext4_iget_normal() which is to be used for dir tree lookups 2015-02-02 17:04:53 +08:00
ioctl.c ext4: fix duplicated mnt_drop_write call in EXT4_IOC_MOVE_EXT 2012-07-29 08:04:19 -07:00
Kconfig ext4: fix Kconfig documentation for CONFIG_EXT4_DEBUG 2013-05-07 19:51:57 -07:00
Makefile ext4: move ext4_ind_* functions from inode.c to indirect.c 2011-06-27 19:40:50 -04:00
mballoc.c ext4: fix wrong assert in ext4_mb_normalize_request() 2014-06-30 20:01:31 -07:00
mballoc.h ext4: remove EXT4_MB_{BITMAP,BUDDY} macros 2012-02-20 17:54:06 -05:00
migrate.c ext4: using PTR_ERR() on the wrong variable in ext4_ext_migrate() 2012-02-20 17:53:06 -05:00
mmp.c ext4: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
move_extent.c ext4: online defrag is not supported for journaled files 2012-10-13 05:38:49 +09:00
namei.c ext4: add ext4_iget_normal() which is to be used for dir tree lookups 2015-02-02 17:04:53 +08:00
page-io.c ext4: fix possible use-after-free with AIO 2014-03-11 16:10:05 -07:00
resize.c ext4: avoid trying to kfree an ERR_PTR pointer 2014-12-01 18:02:41 +08:00
super.c ext4: add ext4_iget_normal() which is to be used for dir tree lookups 2015-02-02 17:04:53 +08:00
symlink.c
truncate.h ext4: move common truncate functions to header file 2011-06-27 19:16:04 -04:00
xattr.c ext4: check EA value offset when loading 2015-02-02 17:04:51 +08:00
xattr.h
xattr_security.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
xattr_trusted.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
xattr_user.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00