Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58d86a50 authored by Wang Shilong's avatar Wang Shilong Committed by Theodore Ts'o
Browse files

ext4: update comments regarding ext4_delete_inode()



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

Signed-off-by: default avatarWang Shilong <wshilong@ddn.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 4fdb5543
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3620,7 +3620,7 @@ void ext4_truncate(struct inode *inode)
	 * 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)
+1 −1
Original line number Diff line number Diff line
@@ -592,7 +592,7 @@ int ext4_ext_migrate(struct inode *inode)

	/*
	 * 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