commit | f471c9df922a80ca9af1d9a490b4aab3f990ec19 | [log] [tgz] |
---|---|---|
author | Wengang Wang <wen.gang.wang@oracle.com> | Wed Jun 30 20:23:30 2010 +0800 |
committer | Joel Becker <joel.becker@oracle.com> | Mon Jul 12 13:56:14 2010 -0700 |
tree | 554116c78b9345c7bc0741bbc6be1fd7d5d390d4 | |
parent | 693c241a5f6aa01417f5f4caf9f82e60e316398d [diff] |
ocfs2/dlm: don't access beyond bitmap size dlm->recovery_map is defined as unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; We should treat O2NM_MAX_NODES as the bit map size in bits. This patches fixes a bit operation that takes O2NM_MAX_NODES + 1 as bitmap size. Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>