aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/slot_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/slot_map.c')
-rw-r--r--fs/ocfs2/slot_map.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/slot_map.c b/fs/ocfs2/slot_map.c
index 63fb1b26d964..bb5ff8939bf1 100644
--- a/fs/ocfs2/slot_map.c
+++ b/fs/ocfs2/slot_map.c
@@ -73,8 +73,6 @@ static void ocfs2_set_slot(struct ocfs2_slot_info *si,
73 int slot_num, unsigned int node_num) 73 int slot_num, unsigned int node_num)
74{ 74{
75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); 75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots));
76 BUG_ON((node_num == O2NM_INVALID_NODE_NUM) ||
77 (node_num >= O2NM_MAX_NODES));
78 76
79 si->si_slots[slot_num].sl_valid = 1; 77 si->si_slots[slot_num].sl_valid = 1;
80 si->si_slots[slot_num].sl_node_num = node_num; 78 si->si_slots[slot_num].sl_node_num = node_num;