aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Shilong <wshilong@ddn.com>2014-11-25 16:17:29 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-11-25 16:17:29 -0500
commit58d86a50eee6f8d5a4768f739d10d94f9994180f (patch)
tree29cdae1d96d350e8b51a5c327b1f55a03b22694c
parent4fdb5543183d027a19805b72025b859af73d0863 (diff)
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>
-rw-r--r--fs/ext4/inode.c2
-rw-r--r--fs/ext4/migrate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index b416b461fa50..5653fa42930b 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3620,7 +3620,7 @@ out_stop:
3620 * If this was a simple ftruncate() and the file will remain alive, 3620 * If this was a simple ftruncate() and the file will remain alive,
3621 * then we need to clear up the orphan record which we created above. 3621 * then we need to clear up the orphan record which we created above.
3622 * However, if this was a real unlink then we were called by 3622 * However, if this was a real unlink then we were called by
3623 * ext4_delete_inode(), and we allow that function to clean up the 3623 * ext4_evict_inode(), and we allow that function to clean up the
3624 * orphan info for us. 3624 * orphan info for us.
3625 */ 3625 */
3626 if (inode->i_nlink) 3626 if (inode->i_nlink)
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index a432634f2e6a..3cb267aee802 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -592,7 +592,7 @@ err_out:
592 592
593 /* 593 /*
594 * set the i_blocks count to zero 594 * set the i_blocks count to zero
595 * so that the ext4_delete_inode does the 595 * so that the ext4_evict_inode() does the
596 * right job 596 * right job
597 * 597 *
598 * We don't need to take the i_lock because 598 * We don't need to take the i_lock because