diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-03-23 14:23:29 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:42:43 -0400 |
commit | 685f1adb3872d904e08e22fab699f34432d5068a (patch) | |
tree | 351bfb28a72601250f70553d8eef4edc542fcf31 | |
parent | c8f33b6e86af74ee7b800f57cac7b3c8559318fe (diff) |
ocfs2: silence a compile warning in dlm_alloc_pagevec()
Reported by Andrew Morton.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
-rw-r--r-- | fs/ocfs2/dlm/dlmdomain.c | 4 |
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) | |||
68 | if (!(vec[i] = (void *)__get_free_page(GFP_KERNEL))) | 68 | if (!(vec[i] = (void *)__get_free_page(GFP_KERNEL))) |
69 | goto out_free; | 69 | goto out_free; |
70 | 70 | ||
71 | mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %Zd buckets per page\n", | 71 | mlog(0, "Allocated DLM hash pagevec; %d pages (%lu expected), %lu buckets per page\n", |
72 | pages, DLM_HASH_PAGES, DLM_BUCKETS_PER_PAGE); | 72 | pages, DLM_HASH_PAGES, (unsigned long)DLM_BUCKETS_PER_PAGE); |
73 | return vec; | 73 | return vec; |
74 | out_free: | 74 | out_free: |
75 | dlm_free_pagevec(vec, i); | 75 | dlm_free_pagevec(vec, i); |