ext4: update comments regarding ext4_delete_inode()
authorWang Shilong <wshilong@ddn.com>
Tue, 25 Nov 2014 21:17:29 +0000 (16:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 25 Nov 2014 21:17:29 +0000 (16:17 -0500)
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>
fs/ext4/inode.c
fs/ext4/migrate.c

index b416b461fa500bbfb4822c5d3852478c7512923d..5653fa42930b6afbe29b5dce9e88511c502c8e54 100644 (file)
@@ -3620,7 +3620,7 @@ out_stop:
         * 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.
         * 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.
         */
        if (inode->i_nlink)
index a432634f2e6a7243d4e5f3beaa088b6911281a0d..3cb267aee8021a0bfaf3c46fb66efd655739e540 100644 (file)
@@ -592,7 +592,7 @@ err_out:
 
        /*
         * 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
         *
         * We don't need to take the i_lock because