mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 16:42:21 +00:00
udf: Remove unnecessary OOM messages
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>
This commit is contained in:
parent
88ebdda615
commit
75b09e022f
1 changed files with 1 additions and 4 deletions
|
@ -948,11 +948,8 @@ static struct udf_bitmap *udf_sb_alloc_bitmap(struct super_block *sb, u32 index)
|
||||||
else
|
else
|
||||||
bitmap = vzalloc(size); /* TODO: get rid of vzalloc */
|
bitmap = vzalloc(size); /* TODO: get rid of vzalloc */
|
||||||
|
|
||||||
if (bitmap == NULL) {
|
if (bitmap == NULL)
|
||||||
udf_err(sb, "Unable to allocate space for bitmap and %d buffer_head pointers\n",
|
|
||||||
nr_groups);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1);
|
bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1);
|
||||||
bitmap->s_nr_groups = nr_groups;
|
bitmap->s_nr_groups = nr_groups;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue