Whamcloud - gitweb
small cleanup
authortappro <tappro>
Fri, 22 Sep 2006 12:35:35 +0000 (12:35 +0000)
committertappro <tappro>
Fri, 22 Sep 2006 12:35:35 +0000 (12:35 +0000)
lustre/llite/dir.c

index b45dd59..2e86f72 100644 (file)
@@ -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);