2011-10-30 02:55:44

by Eryu Guan

[permalink] [raw]
Subject: [PATCH] ext4: remove comments about extent mount option in ext4_new_inode()

Remove comments about 'extent' mount option in ext4_new_inode(),
it's no longer existed.

Cc: "Theodore Ts'o" <[email protected]>
Signed-off-by: Eryu Guan <[email protected]>
---
fs/ext4/ialloc.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)

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;
--
1.7.7.1



2011-11-01 23:07:15

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] ext4: remove comments about extent mount option in ext4_new_inode()

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" <[email protected]>
> Signed-off-by: Eryu Guan <[email protected]>

Thanks, applied.

- Ted