Skip to content

Commit

Permalink
udf: Remove unnecessary OOM messages
Browse files Browse the repository at this point in the history
Per call site OOM messages are unnecessary.
k.alloc and v.alloc failures use dump_stack().

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Joe Perches authored and Jan Kara committed Feb 29, 2012
1 parent 88ebdda commit 75b09e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,8 @@ static struct udf_bitmap *udf_sb_alloc_bitmap(struct super_block *sb, u32 index)
else
bitmap = vzalloc(size); /* TODO: get rid of vzalloc */

if (bitmap == NULL) {
udf_err(sb, "Unable to allocate space for bitmap and %d buffer_head pointers\n",
nr_groups);
if (bitmap == NULL)
return NULL;
}

bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1);
bitmap->s_nr_groups = nr_groups;
Expand Down

0 comments on commit 75b09e0

Please sign in to comment.