Skip to content

Commit

Permalink
ocfs2: silence a compile warning in dlm_alloc_pagevec()
Browse files Browse the repository at this point in the history
Reported by Andrew Morton.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
  • Loading branch information
Mark Fasheh committed Jun 26, 2006
1 parent c8f33b6 commit 685f1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ocfs2/dlm/dlmdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 685f1ad

Please sign in to comment.