ChangeLog, valid_blk.c:
valid_blk.c (ext2fs_inode_has_valid_blocks): Only check i_blocks for a
symlink to determine whether it is a fast symlink.
diff --git a/lib/ext2fs/valid_blk.c b/lib/ext2fs/valid_blk.c
index c6a7c22..9e50ed5 100644
--- a/lib/ext2fs/valid_blk.c
+++ b/lib/ext2fs/valid_blk.c
@@ -38,8 +38,7 @@
* If the symbolic link is a "fast symlink", then the symlink
* target is stored in the block entries.
*/
- if (LINUX_S_ISLNK (inode->i_mode) && inode->i_blocks == 0 &&
- inode->i_size < EXT2_N_BLOCKS * sizeof (unsigned long))
+ if (LINUX_S_ISLNK (inode->i_mode) && inode->i_blocks == 0)
return 0;
return 1;