[Ocfs2-commits] mfasheh commits r1427 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Sep 7 13:30:39 CDT 2004
Author: mfasheh
Date: 2004-09-07 13:30:37 -0500 (Tue, 07 Sep 2004)
New Revision: 1427
Modified:
trunk/src/inode.c
trunk/src/inode.h
trunk/src/super.c
Log:
* commit a patch by Christoph Hellwig <hch at lst.de>:
Subject: [Ocfs2-devel] [PATCH] remove ocfs_put_inode
this doesn't do anything but noisy debug printks anymore
Modified: trunk/src/inode.c
===================================================================
--- trunk/src/inode.c 2004-09-03 23:46:36 UTC (rev 1426)
+++ trunk/src/inode.c 2004-09-07 18:30:37 UTC (rev 1427)
@@ -521,26 +521,6 @@
return status;
}
-/*
- * ocfs_put_inode()
- *
- */
-void ocfs_put_inode (struct inode *inode)
-{
- ocfs_super *osb;
-
- LOG_SET_CONTEXT(PUT_INODE);
-
- LOG_ENTRY_ARGS ("(0x%p, i_ino=%llu)\n", inode, OCFS_I(inode)->ip_blkno);
- LOG_TRACE_ARGS ("put_inode: count=%d\n", atomic_read(&inode->i_count));
- osb = OCFS_SB(inode->i_sb);
- LOG_EXIT ();
-
- LOG_CLEAR_CONTEXT();
- return;
-} /* ocfs_put_inode */
-
-
void ocfs_sync_blockdev(struct super_block *sb)
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
Modified: trunk/src/inode.h
===================================================================
--- trunk/src/inode.h 2004-09-03 23:46:36 UTC (rev 1426)
+++ trunk/src/inode.h 2004-09-07 18:30:37 UTC (rev 1427)
@@ -40,7 +40,6 @@
int ocfs_inode_revalidate(struct dentry *dentry);
int ocfs_populate_inode(struct inode *inode, ocfs2_dinode *fe,
int create_ino);
-void ocfs_put_inode(struct inode *inode);
void ocfs_read_inode(struct inode *inode);
void ocfs_read_inode2(struct inode *inode, void *opaque);
ssize_t ocfs_rw_direct(int rw, struct file *filp, char *buf,
Modified: trunk/src/super.c
===================================================================
--- trunk/src/super.c 2004-09-03 23:46:36 UTC (rev 1426)
+++ trunk/src/super.c 2004-09-07 18:30:37 UTC (rev 1427)
@@ -196,9 +196,7 @@
static struct super_operations ocfs_sops = {
.statfs = ocfs_statfs,
- .put_inode = ocfs_put_inode,
.clear_inode = ocfs_clear_inode,
- //put_inode = force_delete,
.delete_inode = ocfs_delete_inode,
.sync_fs = ocfs_sync_fs,
.write_super = ocfs_write_super,
More information about the Ocfs2-commits
mailing list