summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/symlink.c
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2010-06-30 20:23:30 +0800
committerJoel Becker <joel.becker@oracle.com>2010-07-12 13:56:14 -0700
commitf471c9df922a80ca9af1d9a490b4aab3f990ec19 (patch)
tree554116c78b9345c7bc0741bbc6be1fd7d5d390d4 /fs/ocfs2/symlink.c
parent693c241a5f6aa01417f5f4caf9f82e60e316398d (diff)
downloadop-kernel-dev-f471c9df922a80ca9af1d9a490b4aab3f990ec19.zip
op-kernel-dev-f471c9df922a80ca9af1d9a490b4aab3f990ec19.tar.gz
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 'fs/ocfs2/symlink.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud