carta
jbd2_journal_forget(9)

jbd2_journal_forget9

Bforget for potentially-journaled buffers.

Arguments

handle

transaction handle

bh

bh to 'forget'

Overview

We can only do the bforget if there are no commits pending against the buffer. If the buffer is dirty in the current running transaction we can safely unlink it.

bh may not be a journalled buffer at all - it may be a non-JBD buffer which came off the hashtable. Check for this.

Decrements bh->b_count by one.

Allow this call even if the handle has aborted --- it may be part of the caller's cleanup after an abort.

Authors

Roger Gammans <[email protected]>

Author.

Stephen Tweedie <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.