linux-stable-rt/fs/ext4
Jan Kara 335e92e8a5 vfs: fix possible deadlock in ext2, ext3, ext4 when using xattrs
mb_cache_entry_alloc() was allocating cache entries with GFP_KERNEL.  But
filesystems are calling this function while holding xattr_sem so possible
recursion into the fs violates locking ordering of xattr_sem and transaction
start / i_mutex for ext2-4.  Change mb_cache_entry_alloc() so that filesystems
can specify desired gfp mask and use GFP_NOFS from all of them.

Signed-off-by: Jan Kara <jack@suse.cz>
Reported-by: Dave Jones <davej@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-15 19:35:41 -07:00
..
Makefile
acl.c
acl.h
balloc.c
bitmap.c
dir.c
ext4_jbd2.c
extents.c ext4: Don't mark filesystem error if fallocate fails 2008-02-25 15:41:35 -05:00
file.c
fsync.c
group.h
hash.c
ialloc.c ext4: set EXT4_EXTENTS_FL only for directory and regular files 2008-02-25 16:38:03 -05:00
inode.c ext4: Fix BUG when writing to an unitialized extent 2008-02-25 15:29:55 -05:00
ioctl.c
mballoc.c ext4: ext4_find_next_zero_bit needs an aligned address on some arch 2008-02-23 01:38:34 -05:00
migrate.c
namei.c ext4: set EXT4_EXTENTS_FL only for directory and regular files 2008-02-25 16:38:03 -05:00
namei.h
resize.c ext4: add missing ext4_journal_stop() 2008-02-25 15:37:42 -05:00
super.c
symlink.c
xattr.c vfs: fix possible deadlock in ext2, ext3, ext4 when using xattrs 2008-04-15 19:35:41 -07:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c