提交 685f1adb 编写于 作者: M Mark Fasheh

ocfs2: silence a compile warning in dlm_alloc_pagevec()

Reported by Andrew Morton.
Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
上级 c8f33b6e
......@@ -68,8 +68,8 @@ static void **dlm_alloc_pagevec(int pages)
if (!(vec[i] = (void *)__get_free_page(GFP_KERNEL)))
goto out_free;
mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %Zd buckets per page\n",
pages, DLM_HASH_PAGES, DLM_BUCKETS_PER_PAGE);
mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %lu buckets per page\n",
pages, DLM_HASH_PAGES, (unsigned long)DLM_BUCKETS_PER_PAGE);
return vec;
out_free:
dlm_free_pagevec(vec, i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册