mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 18:11:20 +00:00
ext4: get rid of code duplication
Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
c5d311926d
commit
dfe076c106
1 changed files with 1 additions and 2 deletions
|
@ -3155,9 +3155,8 @@ ext4_mb_normalize_request(struct ext4_allocation_context *ac,
|
||||||
"start %lu, size %lu, fe_logical %lu",
|
"start %lu, size %lu, fe_logical %lu",
|
||||||
(unsigned long) start, (unsigned long) size,
|
(unsigned long) start, (unsigned long) size,
|
||||||
(unsigned long) ac->ac_o_ex.fe_logical);
|
(unsigned long) ac->ac_o_ex.fe_logical);
|
||||||
|
BUG();
|
||||||
}
|
}
|
||||||
BUG_ON(start + size <= ac->ac_o_ex.fe_logical &&
|
|
||||||
start > ac->ac_o_ex.fe_logical);
|
|
||||||
BUG_ON(size <= 0 || size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb));
|
BUG_ON(size <= 0 || size > EXT4_BLOCKS_PER_GROUP(ac->ac_sb));
|
||||||
|
|
||||||
/* now prepare goal request */
|
/* now prepare goal request */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue