git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b302ef2
)
ext4: add sanity check to ext4_get_group_info()
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 6 Jun 2013 15:16:43 +0000
(11:16 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 6 Jun 2013 15:16:43 +0000
(11:16 -0400)
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>
fs/ext4/ext4.h
patch
|
blob
|
history
diff --cc
fs/ext4/ext4.h
Simple merge