Patchwork ext4: remove comments about extent mount option in ext4_new_inode()

login
register
mail settings
Submitter Eryu Guan
Date Oct. 30, 2011, 2:55 a.m.
Message ID <1319943312-5534-1-git-send-email-guaneryu@gmail.com>
Download mbox | patch
Permalink /patch/122584/
State Accepted
Headers show

Comments

Eryu Guan - Oct. 30, 2011, 2:55 a.m.
Remove comments about 'extent' mount option in ext4_new_inode(),
it's no longer existed.

Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
---
 fs/ext4/ialloc.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
Theodore Ts'o - Nov. 1, 2011, 11:07 p.m.
On Sun, Oct 30, 2011 at 10:55:12AM +0800, Eryu Guan wrote:
> Remove comments about 'extent' mount option in ext4_new_inode(),
> it's no longer existed.
> 
> Cc: "Theodore Ts'o" <tytso@mit.edu>
> Signed-off-by: Eryu Guan <guaneryu@gmail.com>

Thanks, applied.

					- Ted
--
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

Patch

diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c
index 9c63f27..c25b9e5 100644
--- a/fs/ext4/ialloc.c
+++ b/fs/ext4/ialloc.c
@@ -1005,11 +1005,7 @@  got:
 	ei->i_dir_start_lookup = 0;
 	ei->i_disksize = 0;
 
-	/*
-	 * Don't inherit extent flag from directory, amongst others. We set
-	 * extent flag on newly created directory and file only if -o extent
-	 * mount option is specified
-	 */
+	/* Don't inherit extent flag from directory, amongst others. */
 	ei->i_flags =
 		ext4_mask_flags(mode, EXT4_I(dir)->i_flags & EXT4_FL_INHERITED);
 	ei->i_file_acl = 0;