android_kernel_google_msm/fs/ext4
Theodore Ts'o ff624a813e ext4: atomically set inode->i_flags in ext4_set_inode_flags()
commit 00a1a053eb upstream.

Use cmpxchg() to atomically set i_flags instead of clearing out the
S_IMMUTABLE, S_APPEND, etc. flags and then setting them from the
EXT4_IMMUTABLE_FL, EXT4_APPEND_FL flags, since this opens up a race
where an immutable file has the immutable flag cleared for a brief
window of time.

Reported-by: John Sullivan <jsrhbz@kanargh.force9.co.uk>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-03 11:58:46 -07: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
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
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: don't leave i_crtime.tv_sec uninitialized 2014-03-11 16:09:56 -07: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: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
file.c
fsync.c ext4/jbd2: don't wait (forever) for stale tid caused by wraparound 2014-03-11 16:10:05 -07:00
hash.c
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: atomically set inode->i_flags in ext4_set_inode_flags() 2014-04-03 11:58:46 -07: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
mballoc.c ext4: fix use-after-free in ext4_mb_new_blocks 2014-01-08 09:42:11 -08: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 ext4: online defrag is not supported for journaled files 2012-10-13 05:38:49 +09:00
namei.c ext4: avoid hang when mounting non-journal filesystems with orphan list 2013-10-13 15:42:50 -07:00
page-io.c ext4: fix possible use-after-free with AIO 2014-03-11 16:10:05 -07:00
resize.c ext4: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
super.c ext4: don't try to modify s_flags if the the file system is read-only 2014-03-11 16:09:56 -07:00
symlink.c
truncate.h
xattr.c ext4: return ENOMEM if sb_getblk() fails 2014-03-11 16:10:06 -07:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c