From 3a0dac8e18c235b1636995b5ce6a89e9cc466d50 Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 22 Sep 2006 12:35:35 +0000 Subject: [PATCH] small cleanup --- lustre/llite/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1