summaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-12-11 02:41:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 04:41:03 +0300
commit519a286175b6422e13694ebb73aefee0b5749443 (patch)
tree9be49e211258e1d6eb874f55f357f710406b9ba4 /net/unix
parentf08736bd6c54c33b91d4324eee5713ca6f13319a (diff)
downloadlinux-519a286175b6422e13694ebb73aefee0b5749443.tar.xz
ocfs2: fix an off-by-one BUG_ON() statement
The ->si_slots[] array is allocated in ocfs2_init_slot_info() it has "->max_slots" number of elements so this test should be >= instead of >. Static checker work. Compile tested only. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions