Skip to content
Commit 2f2e09eb authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: add sanity check to ext4_get_group_info()



The group number passed to ext4_get_group_info() should be valid, but
let's add an assert to check this before we start creating a pointer
based on that group number and dereferencing it.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent b302ef2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment