From: Aneesh Kumar K.V Date: Mon, 25 Feb 2008 21:38:03 +0000 (-0500) Subject: ext4: set EXT4_EXTENTS_FL only for directory and regular files X-Git-Tag: v2.6.25-rc4~155^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42bf0383d1e09dd1b38f3debb13a76b2f87634b3;p=pandora-kernel.git ext4: set EXT4_EXTENTS_FL only for directory and regular files In addition, 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 error later when we are verifying the extent header Signed-off-by: Aneesh Kumar K.V Acked-off-by: Eric Sandeen Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed