The Coverity checker spotted the following NULL dereference:

<--  snip  -->

...
static int ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac,
                                handle_t *handle)
{
...
        if (!bitmap_bh)
                goto out_err;
...
out_err:
        sb->s_dirt = 1;
        put_bh(bitmap_bh);
...

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to