jbd2: Add function jbd2_trans_will_send_data_barrier()
authorJan Kara <jack@suse.cz>
Tue, 24 May 2011 15:59:18 +0000 (11:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 24 May 2011 15:59:18 +0000 (11:59 -0400)
Provide a function which returns whether a transaction with given tid
will send a flush to the filesystem device.  The function will be used
by ext4 to detect whether fsync needs to send a separate flush or not.

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

No differences found