extent_cache.c (2a267e7c41aa88215de2b542de797d03d16ecdfd) extent_cache.c (dcbb4c10e6d9693cc9d6fa493b4d130b66a60c7d)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * f2fs extent cache support
4 *
5 * Copyright (c) 2015 Motorola Mobility
6 * Copyright (c) 2015 Samsung Electronics
7 * Authors: Jaegeuk Kim <jaegeuk@kernel.org>
8 * Chao Yu <chao2.yu@samsung.com>

--- 170 unchanged lines hidden (view full) ---

179 next = rb_next(cur);
180 if (!next)
181 return true;
182
183 cur_re = rb_entry(cur, struct rb_entry, rb_node);
184 next_re = rb_entry(next, struct rb_entry, rb_node);
185
186 if (cur_re->ofs + cur_re->len > next_re->ofs) {
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * f2fs extent cache support
4 *
5 * Copyright (c) 2015 Motorola Mobility
6 * Copyright (c) 2015 Samsung Electronics
7 * Authors: Jaegeuk Kim <jaegeuk@kernel.org>
8 * Chao Yu <chao2.yu@samsung.com>

--- 170 unchanged lines hidden (view full) ---

179 next = rb_next(cur);
180 if (!next)
181 return true;
182
183 cur_re = rb_entry(cur, struct rb_entry, rb_node);
184 next_re = rb_entry(next, struct rb_entry, rb_node);
185
186 if (cur_re->ofs + cur_re->len > next_re->ofs) {
187 f2fs_msg(sbi->sb, KERN_INFO, "inconsistent rbtree, "
188 "cur(%u, %u) next(%u, %u)",
189 cur_re->ofs, cur_re->len,
190 next_re->ofs, next_re->len);
187 f2fs_info(sbi, "inconsistent rbtree, cur(%u, %u) next(%u, %u)",
188 cur_re->ofs, cur_re->len,
189 next_re->ofs, next_re->len);
191 return false;
192 }
193
194 cur = next;
195 }
196#endif
197 return true;
198}

--- 650 unchanged lines hidden ---
190 return false;
191 }
192
193 cur = next;
194 }
195#endif
196 return true;
197}

--- 650 unchanged lines hidden ---