struct journal_callback

Name

struct journal_callback --  Base structure for callback information.

Synopsis

struct journal_callback {
  struct list_head jcb_list;
  void (* jcb_func) (struct journal_callback *jcb, int error);
};  

Members

jcb_list

list information for other callbacks attached to the same handle.

jcb_func

Function to call with this callback structure.

Description

This struct is a 'seed' structure for a using with your own callback structs. If you are using callbacks you must allocate one of these or another struct of your own definition which has this struct as it's first element and pass it to journal_callback_set.

This is used internally by jbd to maintain callback information.

See journal_callback_set for more information.