Whamcloud - gitweb
LU-2627 e2fsck: check_symlink() SIGSEGV 45/5045/1 v1.42.6.wc2
authorBobi Jam <bobijam.xu@intel.com>
Thu, 17 Jan 2013 03:41:15 +0000 (11:41 +0800)
committerBobi Jam <bobijam.xu@intel.com>
Thu, 17 Jan 2013 03:46:23 +0000 (11:46 +0800)
commit9312871cce9d82d217bc6edc3a943f6e034a99f2
tree9348cd199bf9859eef097c2a2eb4eb46fa704ec0
parent9eb28404ee7d481404989bba3cccb8b4c99943ca
LU-2627 e2fsck: check_symlink() SIGSEGV

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
e2fsck/pass1.c