[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)
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>

No differences found