10 handle_t *
handle,
struct buffer_head *bh)
14 if (ext4_handle_valid(handle)) {
43 trace_ext4_forget(inode, is_metadata, blocknr);
44 BUFFER_TRACE(bh,
"enter");
46 jbd_debug(4,
"forgetting bh %p: is_metadata = %d, mode %o, "
48 bh, is_metadata, inode->
i_mode,
52 if (!ext4_handle_valid(handle)) {
63 (!is_metadata && !ext4_should_journal_data(inode))) {
65 BUFFER_TRACE(bh,
"call jbd2_journal_forget");
78 BUFFER_TRACE(bh,
"call jbd2_journal_revoke");
79 err = jbd2_journal_revoke(handle, blocknr, bh);
84 "error %d when attempting revoke", err);
86 BUFFER_TRACE(bh,
"exit");
91 handle_t *
handle,
struct buffer_head *bh)
95 if (ext4_handle_valid(handle)) {
106 struct buffer_head *bh)
110 if (ext4_handle_valid(handle)) {
124 if (buffer_req(bh) && !buffer_uptodate(bh)) {
132 "IO error syncing itable block");
143 struct buffer_head *bh =
EXT4_SB(sb)->s_sbh;
147 if (ext4_handle_valid(handle)) {