From 338c9909cbb250ba19150ec829f6c1cca75886d1 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 25 Nov 2014 16:21:13 -0500 Subject: [PATCH] add patch update-comments-regarding-ext4_delete_inode --- series | 2 ++ update-comments-regarding-ext4_delete_inode | 48 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 update-comments-regarding-ext4_delete_inode diff --git a/series b/series index 2bc6c8fe..d0a7b0eb 100644 --- a/series +++ b/series @@ -29,6 +29,8 @@ fix-potential-use-after-free-during-resize # note: causes generic/285 to loop forever in inline data mode # fix-suboptimal-seek_datahole_extents_traversal +update-comments-regarding-ext4_delete_inode + ########################################## # unstable patches #################################################### diff --git a/update-comments-regarding-ext4_delete_inode b/update-comments-regarding-ext4_delete_inode new file mode 100644 index 00000000..2a73b67b --- /dev/null +++ b/update-comments-regarding-ext4_delete_inode @@ -0,0 +1,48 @@ +ext4: update comments regarding ext4_delete_inode() + +From: Wang Shilong + +ext4_delete_inode() has been renamed for a long time, update +comments for this. + +Signed-off-by: Wang Shilong +Signed-off-by: Theodore Ts'o +--- + 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 + +-- +To unsubscribe from this list: send the line "unsubscribe linux-ext4" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html + -- 2.11.4.GIT