tmp_suning_uos_patched/fs/ext4
Jan Kara ebd3610b11 ext4: Fix deadlock in ext4_write_begin() and ext4_da_write_begin()
Functions ext4_write_begin() and ext4_da_write_begin() call
grab_cache_page_write_begin() without AOP_FLAG_NOFS. Thus it
can happen that page reclaim is triggered in that function
and it recurses back into the filesystem (or some other filesystem).
But this can lead to various problems as a transaction is already
started at that point. Add the necessary flag.

http://bugzilla.kernel.org/show_bug.cgi?id=11688

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-02-22 21:09:59 -05:00
..
acl.c
acl.h
balloc.c ext4: Fix building with EXT4FS_DEBUG 2009-01-26 19:26:26 -05:00
bitmap.c
dir.c ext4: Make printk's consistently prefixed with "EXT4-fs: " 2009-01-06 00:20:32 -05:00
ext4_extents.h
ext4_i.h
ext4_jbd2.c
ext4_jbd2.h ext4: Remove "extents" mount option 2009-01-06 14:53:16 -05:00
ext4_sb.h fs: introduce bgl_lock_ptr() 2009-01-04 13:33:20 -08:00
ext4.h ext4: Fix to read empty directory blocks correctly in 64k 2009-02-10 09:53:42 -05:00
extents.c ext4: Fix building with EXT4FS_DEBUG 2009-01-26 19:26:26 -05:00
file.c
fsync.c
group.h
hash.c
ialloc.c ext4: Add fallback for find_group_flex 2009-02-21 12:13:24 -05:00
inode.c ext4: Fix deadlock in ext4_write_begin() and ext4_da_write_begin() 2009-02-22 21:09:59 -05:00
ioctl.c
Kconfig
Makefile
mballoc.c ext4: Initialize preallocation list_head's properly 2009-02-14 10:31:16 -05:00
mballoc.h ext4: Don't allow new groups to be added during block allocation 2009-01-05 21:46:55 -05:00
migrate.c ext4: Fix NULL dereference in ext4_ext_migrate()'s error handling 2009-02-15 20:02:19 -05:00
namei.c ext4: Add sanity check to make_indexed_dir 2009-01-16 11:13:40 -05:00
namei.h
resize.c ext4: Initialize the new group descriptor when resizing the filesystem 2009-01-26 19:06:41 -05:00
super.c Revert "ext4: wait on all pending commits in ext4_sync_fs()" 2009-02-10 06:46:05 -05:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h