summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.c
diff options
context:
space:
mode:
authorMark Fasheh2006-10-07 03:51:46 +0200
committerMark Fasheh2006-12-02 03:27:55 +0100
commit02928a71ae6da6e3e205d99e1fa1a1f598ddb62d (patch)
tree0b45c363c0e77cf32fd20a4bc30e6405c5250059 /fs/ocfs2/inode.c
parentocfs2: Don't allocate handle early in ocfs2_rename() (diff)
downloadkernel-qcow2-linux-02928a71ae6da6e3e205d99e1fa1a1f598ddb62d.tar.gz
kernel-qcow2-linux-02928a71ae6da6e3e205d99e1fa1a1f598ddb62d.tar.xz
kernel-qcow2-linux-02928a71ae6da6e3e205d99e1fa1a1f598ddb62d.zip
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/inode.c')
-rw-r--r--fs/ocfs2/inode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
index 16e8e74dc966..20e60e4b1f10 100644
--- a/fs/ocfs2/inode.c
+++ b/fs/ocfs2/inode.c
@@ -1067,12 +1067,6 @@ void ocfs2_clear_inode(struct inode *inode)
mlog_bug_on_msg(oi->ip_open_count,
"Clear inode of %llu has open count %d\n",
(unsigned long long)oi->ip_blkno, oi->ip_open_count);
- mlog_bug_on_msg(!list_empty(&oi->ip_handle_list),
- "Clear inode of %llu has non empty handle list\n",
- (unsigned long long)oi->ip_blkno);
- mlog_bug_on_msg(oi->ip_handle,
- "Clear inode of %llu has non empty handle pointer\n",
- (unsigned long long)oi->ip_blkno);
/* Clear all other flags. */
oi->ip_flags = OCFS2_INODE_CACHE_INLINE;