ext3: Try to avoid starting a transaction in writepage for data=writepage
authorJan Kara <jack@suse.cz>
Tue, 7 Apr 2009 22:25:01 +0000 (18:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 8 Apr 2009 17:15:10 +0000 (13:15 -0400)
commit430db323fae7665da721768949ade6304811c648
tree468f04ce720dd9ad295be1c3f3710fecc8d35a2e
parent6e34eeddf7deec1444bbddab533f03f520d8458c
ext3: Try to avoid starting a transaction in writepage for data=writepage

This does the same as commit 9e80d407736161d9b8b0c5a0d44f786e44c322ea
(avoid starting a transaction when no block allocation is needed)
but for data=writeback mode of ext3. We also cleanup the data=ordered
case a bit to stick to coding style...

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