ext4: Fix mmap/truncate race when blocksize < pagesize && !nodellaoc
commit43ce1d23b43330634507a049b55c36e91d27282e
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 14 Jun 2009 21:58:45 +0000 (14 17:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Jun 2009 21:58:45 +0000 (14 17:58 -0400)
treed7532d7c0bea60b7bfe29dad51b4b92122acdd5a
parentc364b22c9580a885e0f8c0d0f9710d67dc448958
ext4: Fix mmap/truncate race when blocksize < pagesize && !nodellaoc

This patch fixes the mmap/truncate race that was fixed for delayed
allocation by merging ext4_{journalled,normal,da}_writepage() into
ext4_writepage().

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
include/trace/events/ext4.h