remove ocfs_put_inode
PATCH 1/1 remove ocfs_put_inode
this doesn't do anything but noisy debug printks anymore
super.c +0 -2
@@ -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,
inode.c +0 -20
@@ -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 )
inode.h +0 -1
@@ -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,