diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2010-06-30 20:23:30 +0800 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-07-12 13:56:14 -0700 |
commit | f471c9df922a80ca9af1d9a490b4aab3f990ec19 (patch) | |
tree | 554116c78b9345c7bc0741bbc6be1fd7d5d390d4 /REPORTING-BUGS | |
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>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions