Skip to contentSkip to conversation

convert logfs to ->evict_inode()

PATCH In review Al Viro 1 participant 1 message Jun 8, 2010 VFS

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 50/58 convert logfs to ->evict_inode()

---
 fs/logfs/inode.c     |    3 +-
 fs/logfs/logfs.h     |    3 +-
 fs/logfs/readwrite.c |   61 +++++++++++++++++++++++--------------------------
 3 files changed, 31 insertions(+), 36 deletions(-)
fs/logfs/inode.c +1 -2
index 7811a2a..78be674 100644
@@ -373,9 +373,8 @@ static void logfs_put_super(struct super_block *sb)
 
 const struct super_operations logfs_super_operations = {
 	.alloc_inode	= logfs_alloc_inode,
-	.clear_inode	= logfs_clear_inode,
-	.delete_inode	= logfs_delete_inode,
 	.destroy_inode	= logfs_destroy_inode,
+	.evict_inode	= logfs_evict_inode,
 	.drop_inode	= logfs_drop_inode,
 	.put_super	= logfs_put_super,
 	.write_inode	= logfs_write_inode,
fs/logfs/logfs.h +1 -2
index 5e65171..5e3b720 100644
@@ -529,8 +529,7 @@ void logfs_set_blocks(struct inode *inode, u64 no);
 /* these logically belong into inode.c but actually reside in readwrite.c */
 int logfs_read_inode(struct inode *inode);
 int __logfs_write_inode(struct inode *inode, long flags);
-void logfs_delete_inode(struct inode *inode);
-void logfs_clear_inode(struct inode *inode);
+void logfs_evict_inode(struct inode *inode);
 
 /* journal.c */
 void logfs_write_anchor(struct super_block *sb);
fs/logfs/readwrite.c +29 -32

78 lines not on this page · raw message

Signature · 1 line
1.5.6.5