From: tappro Date: Fri, 22 Sep 2006 12:35:35 +0000 (+0000) Subject: small cleanup X-Git-Tag: v1_8_0_110~486^2~864 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3a0dac8e18c235b1636995b5ce6a89e9cc466d50;p=fs%2Flustre-release.git small cleanup --- diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index b45dd59..2e86f72 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -311,7 +311,7 @@ static struct page *ll_get_dir_page(struct inode *dir, __u32 hash, int exact, } else { /* for cross-ref object, l_ast_data of the lock may not be set, * we reset it here */ - md_set_lock_data(ll_i2sbi(dir)->ll_md_exp, (__u64*)&lockh, dir); + md_set_lock_data(ll_i2sbi(dir)->ll_md_exp, &lockh.cookie, dir); } ldlm_lock_dump_handle(D_OTHER, &lockh);