journal.h (50655ae9e91d272d48997bada59efe166aa5e343) journal.h (13723d00e374c2a6d6ccb5af6de965e89c3e1b01)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * journal.h
5 *
6 * Defines journalling api and structures.
7 *
8 * Copyright (C) 2003, 2005 Oracle. All rights reserved.

--- 233 unchanged lines hidden (view full) ---

242 * modify it. This way the journalling layer knows it may need to make
243 * a copy of that block (if it's part of another, uncommitted
244 * transaction) before we do so.
245 */
246#define OCFS2_JOURNAL_ACCESS_CREATE 0
247#define OCFS2_JOURNAL_ACCESS_WRITE 1
248#define OCFS2_JOURNAL_ACCESS_UNDO 2
249
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * journal.h
5 *
6 * Defines journalling api and structures.
7 *
8 * Copyright (C) 2003, 2005 Oracle. All rights reserved.

--- 233 unchanged lines hidden (view full) ---

242 * modify it. This way the journalling layer knows it may need to make
243 * a copy of that block (if it's part of another, uncommitted
244 * transaction) before we do so.
245 */
246#define OCFS2_JOURNAL_ACCESS_CREATE 0
247#define OCFS2_JOURNAL_ACCESS_WRITE 1
248#define OCFS2_JOURNAL_ACCESS_UNDO 2
249
250
250/* ocfs2_inode */
251int ocfs2_journal_access_di(handle_t *handle, struct inode *inode,
251/* ocfs2_inode */
252int ocfs2_journal_access_di(handle_t *handle, struct inode *inode,
252 struct buffer_head *bh, int type);
253 struct buffer_head *bh, int type);
253/* ocfs2_extent_block */
254int ocfs2_journal_access_eb(handle_t *handle, struct inode *inode,
255 struct buffer_head *bh, int type);
256/* ocfs2_group_desc */
257int ocfs2_journal_access_gd(handle_t *handle, struct inode *inode,
258 struct buffer_head *bh, int type);
259/* ocfs2_xattr_block */
260int ocfs2_journal_access_xb(handle_t *handle, struct inode *inode,

--- 259 unchanged lines hidden ---
254/* ocfs2_extent_block */
255int ocfs2_journal_access_eb(handle_t *handle, struct inode *inode,
256 struct buffer_head *bh, int type);
257/* ocfs2_group_desc */
258int ocfs2_journal_access_gd(handle_t *handle, struct inode *inode,
259 struct buffer_head *bh, int type);
260/* ocfs2_xattr_block */
261int ocfs2_journal_access_xb(handle_t *handle, struct inode *inode,

--- 259 unchanged lines hidden ---