Fix libext2fs and debugfs to correctly deal with symlinks that have
extended attribute information. (Addresses Debian Bug #232328)
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index f33e08e..6e3d7dc 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -456,7 +456,7 @@
if (inode->i_dtime)
fprintf(out, "%sdtime: 0x%08x -- %s", prefix, inode->i_dtime,
time_to_string(inode->i_dtime));
- if (LINUX_S_ISLNK(inode->i_mode) && inode->i_blocks == 0)
+ if (LINUX_S_ISLNK(inode->i_mode) && ext2fs_inode_data_blocks(current_fs,inode) == 0)
fprintf(out, "%sFast_link_dest: %.*s\n", prefix,
(int) inode->i_size, (char *)inode->i_block);
else if (do_dump_blocks)