ext4: split off ext4_journalled_invalidatepage()
authorJan Kara <jack@suse.cz>
Tue, 25 Dec 2012 18:28:54 +0000 (13:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 25 Dec 2012 18:28:54 +0000 (13:28 -0500)
commit4520fb3c3690f2643006d85f09ecb74554c10e95
tree2355adc52f5d861073e37ed9b4cb8ccc165cd519
parentd7961c7fa4d2e3c3f12be67e21ba8799b5a7238a
ext4: split off ext4_journalled_invalidatepage()

In data=journal mode we don't need delalloc or DIO handling in invalidatepage
and similarly in other modes we don't need the journal handling. So split
invalidatepage implementations.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
include/trace/events/ext4.h