Whamcloud - gitweb
- more fixes and comments about intent managing in ll_revalidate_it(). In few words...
authoryury <yury>
Wed, 11 May 2005 10:49:21 +0000 (10:49 +0000)
committeryury <yury>
Wed, 11 May 2005 10:49:21 +0000 (10:49 +0000)
commit54028ab8e7bba6be153fda64cb8603b493f971c8
tree3350bded3dfa5fc66cd0ed48e89f8e56e07cfc47
parente4cdf229e0ccd557d6d1018a2fcc25aaef667277
- more fixes and comments about intent managing in ll_revalidate_it(). In few words, in the cases dentry is valid and no lookup will be called anymore, intent may be released by ll_intent_release() with clobering -._magic, ->it_op, etc, as it will not be used anymore. In the case revalidate failed, intent should not clobber ->magic, as it will confuse ll_frob_intent() called from ll_lookup_it(). Instead ll_drop_intent_lock() and ll_intent_free() should be used.

- in the case we found potential GNS dentry we do not cause GNS mountining by returning 0 from revalidate if GNS is disabled. This fixes possible NFS stales in some cases.
lustre/llite/dcache.c