Whamcloud - gitweb
b=17807
authorvs <vs>
Wed, 29 Jul 2009 00:39:45 +0000 (00:39 +0000)
committervs <vs>
Wed, 29 Jul 2009 00:39:45 +0000 (00:39 +0000)
commitdcd9567ab8c5ecc612f99e83123ab22fb79338a1
treebf8fbcf560e4c156a66b207d9e2ecce6e4e8ee05
parent83ac5ad0651208d021ad33ce4f3c2cb13c42267a
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