summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-06 18:51:46 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 18:27:55 -0800
commit02928a71ae6da6e3e205d99e1fa1a1f598ddb62d (patch)
tree0b45c363c0e77cf32fd20a4bc30e6405c5250059 /fs/ocfs2/journal.h
parent85b9e783cbc8cf4acc7bfaa76f37ea26b426f514 (diff)
downloadop-kernel-dev-02928a71ae6da6e3e205d99e1fa1a1f598ddb62d.zip
op-kernel-dev-02928a71ae6da6e3e205d99e1fa1a1f598ddb62d.tar.gz
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 6b5d548..3a16d7d 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -149,8 +149,6 @@ struct ocfs2_journal_handle {
struct list_head locks; /* A bunch of locks to
* release on commit. This
* should be a list_head */
-
- struct list_head inode_list;
};
/* 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)
* ocfs2_handle_add_lock to indicate that a lock needs
* to be released at the end of that handle. Locks
* will be released in the order that they are added.
- * ocfs2_handle_add_inode - Add a locked inode to a transaction.
*/
/* 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,
struct buffer_head *bh);
int ocfs2_handle_add_lock(struct ocfs2_journal_handle *handle,
struct inode *inode);
-/*
- * Use this to protect from other processes reading buffer state while
- * it's in flight.
- */
-void ocfs2_handle_add_inode(struct ocfs2_journal_handle *handle,
- struct inode *inode);
/*
* Credit Macros:
OpenPOWER on IntegriCloud