Since e2fsck_pass1_check_symlink()->
check_symlink(ctx, NULL, ino, inode, buf), we should use 'ino' instead
of 'pctx->ino' in check_symlink().
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: If9c16f96d0655d5a886ef607f1f47ced6176f8d8
if (inode->i_size > ctx->fs->blocksize)
return 0;
- if (ext2fs_extent_open2(ctx->fs, pctx->ino, inode, &handle))
+ if (ext2fs_extent_open2(ctx->fs, ino, inode, &handle))
return 0;
if (ext2fs_extent_get_info(handle, &info) ||
(info.num_entries != 1) ||