diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-02-10 01:07:28 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-02-10 01:07:28 -0500 |
commit | 42a10add852e6291a7544afd8a286622a3e6ae76 (patch) | |
tree | 3acf1bdd712f1a53181b1b386c4be8ab0fa58713 /init | |
parent | b8356c465b42c162f34b5fd4102a6c27cec36f43 (diff) |
ext4: Fix null bh pointer dereference in mballoc
Repoted by Adrian Bunk <bunk@kernel.org>:
The Coverity checker spotted the following NULL dereference:
static int ext4_mb_mark_diskspace_used
{
...
if (!bitmap_bh)
goto out_err;
...
out_err:
sb->s_dirt = 1;
put_bh(bitmap_bh);
...
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions