journal_forget(9) suse man page | unix.com

Man Page: journal_forget

Operating Environment: suse

Section: 9

JOURNAL_FORGET(9)					     The Linux Journalling API						 JOURNAL_FORGET(9)

NAME
journal_forget - bforget for potentially-journaled buffers.
SYNOPSIS
int journal_forget(handle_t * handle, struct buffer_head * bh);
ARGUMENTS
handle transaction handle bh bh to 'forget'
DESCRIPTION
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 <rgammans@computer-surgery.co.uk> Author. Stephen Tweedie <sct@redhat.com> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 JOURNAL_FORGET(9)
Related Man Pages
journal_abort(9) - centos
journal_get_undo_access(9) - suse
kgdb_arch_handle_exception(9) - suse
struct_journal_s(9) - suse
usb_gadget_config_buf(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Getting command output to putty window title.
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy &amp; PAM configuration exposure
The Future of the PM (Private Message) System at UNIX.com