failed to accurately characterize non-standard slow
symlinks. (Which don't appear in practice on real-life
systems, fortunately.)
+2002-08-20 Theodore Ts'o <tytso@mit.edu>
+
+ * valid_blk.c (ext2fs_inode_has_valid_blocks): Fix bug which
+ failed to accurately characterize non-standard slow
+ symlinks. (Which don't appear in practice on real-life
+ systems, fortunately.)
+
2002-08-17 Theodore Ts'o <tytso@mit.edu>
* Makefile.in: Remove inode_io.o from the standard object files,
/* With an EA block, life gets more tricky */
if (inode->i_size >= EXT2_N_BLOCKS*4)
return 1; /* definitely using i_block[] */
- if (inode->i_size > 3 && inode->i_block[1] != 0)
- return 1; /* probably using i_block[] */
+ if (inode->i_size > 4 && inode->i_block[1] == 0)
+ return 1; /* definitely using i_block[] */
return 0; /* Probably a fast symlink */
}
}