]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: Don't set EXTENTS_FL flag for fast symlinks
authorValerie Clement <valerie.clement@bull.net>
Tue, 5 Feb 2008 15:56:37 +0000 (10:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Feb 2008 15:56:37 +0000 (10:56 -0500)
commitb8356c465b42c162f34b5fd4102a6c27cec36f43
tree806034b9694b04341888f7bfcaf118fe73e75b71
parent4d605179723a3fb8ba594d9516897426e6629a5b
ext4: Don't set EXTENTS_FL flag for fast symlinks

For fast symbolic links, the file content is stored in the i_block[]
array, which is not compatible with the new file extents format.
e2fsck reports error on such files because EXTENTS_FL is set.
Don't set the EXTENTS_FL flag when creating fast symlinks.

In the case of file migration, skip fast symbolic links.

Signed-off-by: Valerie Clement <valerie.clement@bull.net>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/migrate.c
fs/ext4/namei.c