diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-06-06 11:16:43 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-06 11:16:43 -0400 |
commit | 2f2e09eb15849562aede80ed007658e4504ded26 (patch) | |
tree | f8ee7779589ae6b59524b58f053b32bc3cdda211 /fs/readdir.c | |
parent | b302ef2d3c73d8a07ed2f0679ce35f00b6dcacef (diff) | |
download | linux-2f2e09eb15849562aede80ed007658e4504ded26.tar.bz2 |
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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions