aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-06 21:51:46 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:27:55 -0500
commit02928a71ae6da6e3e205d99e1fa1a1f598ddb62d (patch)
tree0b45c363c0e77cf32fd20a4bc30e6405c5250059 /fs/ocfs2/journal.h
parent85b9e783cbc8cf4acc7bfaa76f37ea26b426f514 (diff)
ocfs2: remove unused ocfs2_handle_add_inode()
We can also delete the unused infrastructure which was once in place to support this functionality. ocfs2_inode_private loses ip_handle and ip_handle_list. ocfs2_journal_handle loses handle_list. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.h')
-rw-r--r--fs/ocfs2/journal.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
index 6b5d548ca117..3a16d7d88e1c 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -149,8 +149,6 @@ struct ocfs2_journal_handle {
149 struct list_head locks; /* A bunch of locks to 149 struct list_head locks; /* A bunch of locks to
150 * release on commit. This 150 * release on commit. This
151 * should be a list_head */ 151 * should be a list_head */
152
153 struct list_head inode_list;
154}; 152};
155 153
156/* Exported only for the journal struct init code in super.c. Do not call. */ 154/* Exported only for the journal struct init code in super.c. Do not call. */
@@ -236,7 +234,6 @@ static inline void ocfs2_checkpoint_inode(struct inode *inode)
236 * ocfs2_handle_add_lock to indicate that a lock needs 234 * ocfs2_handle_add_lock to indicate that a lock needs
237 * to be released at the end of that handle. Locks 235 * to be released at the end of that handle. Locks
238 * will be released in the order that they are added. 236 * will be released in the order that they are added.
239 * ocfs2_handle_add_inode - Add a locked inode to a transaction.
240 */ 237 */
241 238
242/* You must always start_trans with a number of buffs > 0, but it's 239/* You must always start_trans with a number of buffs > 0, but it's
@@ -293,12 +290,6 @@ int ocfs2_journal_dirty_data(handle_t *handle,
293 struct buffer_head *bh); 290 struct buffer_head *bh);
294int ocfs2_handle_add_lock(struct ocfs2_journal_handle *handle, 291int ocfs2_handle_add_lock(struct ocfs2_journal_handle *handle,
295 struct inode *inode); 292 struct inode *inode);
296/*
297 * Use this to protect from other processes reading buffer state while
298 * it's in flight.
299 */
300void ocfs2_handle_add_inode(struct ocfs2_journal_handle *handle,
301 struct inode *inode);
302 293
303/* 294/*
304 * Credit Macros: 295 * Credit Macros: