* [PATCH] Ext4: update comments that use ext4_delete_inode()
@ 2014-10-20 13:28 Wang Shilong
2014-11-25 21:18 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Wang Shilong @ 2014-10-20 13:28 UTC (permalink / raw)
To: linux-ext4
From: Wang Shilong <wshilong@ddn.com>
ext4_delete_inode() has been renamed for a long time, update
comments for this.
Signed-off-by: Wang Shilong <wshilong@ddn.com>
---
fs/ext4/inode.c | 2 +-
fs/ext4/migrate.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index e9777f9..04fd885 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3643,7 +3643,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)
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index a432634..3cb267a 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -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
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Ext4: update comments that use ext4_delete_inode()
2014-10-20 13:28 [PATCH] Ext4: update comments that use ext4_delete_inode() Wang Shilong
@ 2014-11-25 21:18 ` Theodore Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2014-11-25 21:18 UTC (permalink / raw)
To: Wang Shilong; +Cc: linux-ext4
On Mon, Oct 20, 2014 at 09:28:27AM -0400, Wang Shilong wrote:
> From: Wang Shilong <wshilong@ddn.com>
>
> ext4_delete_inode() has been renamed for a long time, update
> comments for this.
>
> Signed-off-by: Wang Shilong <wshilong@ddn.com>
Thanks, applied.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-25 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 13:28 [PATCH] Ext4: update comments that use ext4_delete_inode() Wang Shilong
2014-11-25 21:18 ` Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).