[PATCH] ext4: set EXT4_EXTENTS_FL only for directory and regular files

2008-02-19 Thread Aneesh Kumar K.V
Also don't inherit EXT4_EXTENTS_FL from parent directory. If we have a directory with extent flag set and later mount the file system with -o noextents, the files created in that directory will also have extent flag set but we would not have called ext4_ext_tree_init for them. This will cause

Re: [PATCH] ext4: set EXT4_EXTENTS_FL only for directory and regular files

2008-02-19 Thread Aneesh Kumar K.V
Mingming, On Wed, Feb 20, 2008 at 01:19:05AM +0530, Aneesh Kumar K.V wrote: Also don't inherit EXT4_EXTENTS_FL from parent directory. If we have a directory with extent flag set and later mount the file system with -o noextents, the files created in that directory will also have extent flag

Re: [PATCH] ext4: set EXT4_EXTENTS_FL only for directory and regular files

2008-02-19 Thread Eric Sandeen
Aneesh Kumar K.V wrote: Also don't inherit EXT4_EXTENTS_FL from parent directory. If we have a directory with extent flag set and later mount the file system with -o noextents, the files created in that directory will also have extent flag set but we would not have called ext4_ext_tree_init