浏览代码

ext4: update comments regarding ext4_delete_inode()

ext4_delete_inode() has been renamed for a long time, update
comments for this.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Wang Shilong 10 年之前
父节点
当前提交
58d86a50ee
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      fs/ext4/inode.c
  2. 1 1
      fs/ext4/migrate.c

+ 1 - 1
fs/ext4/inode.c

@@ -3620,7 +3620,7 @@ out_stop:
 	 * If this was a simple ftruncate() and the file will remain alive,
 	 * If this was a simple ftruncate() and the file will remain alive,
 	 * then we need to clear up the orphan record which we created above.
 	 * then we need to clear up the orphan record which we created above.
 	 * However, if this was a real unlink then we were called by
 	 * However, if this was a real unlink then we were called by
-	 * ext4_delete_inode(), and we allow that function to clean up the
+	 * ext4_evict_inode(), and we allow that function to clean up the
 	 * orphan info for us.
 	 * orphan info for us.
 	 */
 	 */
 	if (inode->i_nlink)
 	if (inode->i_nlink)

+ 1 - 1
fs/ext4/migrate.c

@@ -592,7 +592,7 @@ err_out:
 
 
 	/*
 	/*
 	 * set the  i_blocks count to zero
 	 * set the  i_blocks count to zero
-	 * so that the ext4_delete_inode does the
+	 * so that the ext4_evict_inode() does the
 	 * right job
 	 * right job
 	 *
 	 *
 	 * We don't need to take the i_lock because
 	 * We don't need to take the i_lock because