]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ocfs2: Alloc at least a page for the DLM hash
authorJoel Becker <Joel.Becker@oracle.com>
Fri, 17 Mar 2006 01:40:37 +0000 (17:40 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:42:42 +0000 (14:42 -0700)
commitc8f33b6e86af74ee7b800f57cac7b3c8559318fe
tree8806647e8f7a6525539d0a7ecdbe8f375b8f91a3
parent03d864c02c3ea803b1718940ac6953a257182d7a
[PATCH] ocfs2: Alloc at least a page for the DLM hash

The OCFS2 DLM allocates a number of pages for a hash to lookup locks.
There was a bug where a PAGE_SIZE bigger than the hash size (eg, 64K
pages) would result in zero pages allocated.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmdomain.c