Whamcloud - gitweb
b=17807
authorvs <vs>
Wed, 29 Jul 2009 11:47:07 +0000 (11:47 +0000)
committervs <vs>
Wed, 29 Jul 2009 11:47:07 +0000 (11:47 +0000)
commitb4d45f15c3b0e465c8adce28f2d5dc61a5701e7d
tree833d7a6834bd3c7f1a574429d6ca5756070a36f7
parentb6c90c28d2ff2255449ab6995d217edaf972a462
b=17807
i=h.huang,nikita.danilov

do not return 0 from ll_revalidate_nd in case of error:
invalidated dentry may get recreated and
real_lookup will revalidate agai instead of lookup. That revalidate oopses
derefencing error code in the line:
nd->intent.open.file->private_data = it; because nd->intent.open.file holds
error from first revalidate.
lustre/llite/dcache.c