aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmdomain.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-03-23 11:23:29 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 14:42:43 -0700
commit685f1adb3872d904e08e22fab699f34432d5068a (patch)
tree351bfb28a72601250f70553d8eef4edc542fcf31 /fs/ocfs2/dlm/dlmdomain.c
parent[PATCH] ocfs2: Alloc at least a page for the DLM hash (diff)
downloadlinux-dev-685f1adb3872d904e08e22fab699f34432d5068a.tar.xz
linux-dev-685f1adb3872d904e08e22fab699f34432d5068a.zip
ocfs2: silence a compile warning in dlm_alloc_pagevec()
Reported by Andrew Morton. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to '')
-rw-r--r--fs/ocfs2/dlm/dlmdomain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index a074ec6f193f..3511930a34ee 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -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);