Skip to contentSkip to conversation

switch udf to ->evict_inode()

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

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 41/58 switch udf to ->evict_inode()

---
 fs/udf/ialloc.c  |    2 --
 fs/udf/inode.c   |   48 +++++++++++++++++++-----------------------------
 fs/udf/super.c   |    3 +--
 fs/udf/udfdecl.h |    3 +--
 4 files changed, 21 insertions(+), 35 deletions(-)
fs/udf/ialloc.c +0 -2
index 18cd711..75d9304 100644
@@ -31,8 +31,6 @@ void udf_free_inode(struct inode *inode)
 	struct super_block *sb = inode->i_sb;
 	struct udf_sb_info *sbi = UDF_SB(sb);
 
-	clear_inode(inode);
-
 	mutex_lock(&sbi->s_alloc_mutex);
 	if (sbi->s_lvid_bh) {
 		struct logicalVolIntegrityDescImpUse *lvidiu =
fs/udf/inode.c +19 -29

65 lines not on this page · raw message

fs/udf/super.c +1 -2
index 612d1e2..f9f4a9a 100644
@@ -175,8 +175,7 @@ static const struct super_operations udf_sb_ops = {
 	.alloc_inode	= udf_alloc_inode,
 	.destroy_inode	= udf_destroy_inode,
 	.write_inode	= udf_write_inode,
-	.delete_inode	= udf_delete_inode,
-	.clear_inode	= udf_clear_inode,
+	.evict_inode	= udf_evict_inode,
 	.put_super	= udf_put_super,
 	.sync_fs	= udf_sync_fs,
 	.statfs		= udf_statfs,
fs/udf/udfdecl.h +1 -2
index 2bac035..6995ab1 100644
@@ -139,8 +139,7 @@ extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *);
 extern struct buffer_head *udf_bread(struct inode *, int, int, int *);
 extern void udf_truncate(struct inode *);
 extern void udf_read_inode(struct inode *);
-extern void udf_delete_inode(struct inode *);
-extern void udf_clear_inode(struct inode *);
+extern void udf_evict_inode(struct inode *);
 extern int udf_write_inode(struct inode *, struct writeback_control *wbc);
 extern long udf_block_map(struct inode *, sector_t);
 extern int udf_extend_file(struct inode *, struct extent_position *,
Signature · 1 line
1.5.6.5