Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Jan Kara
75b09e02 88ebdda6

+1 -4
+1 -4
fs/udf/super.c
··· 948 948 else 949 949 bitmap = vzalloc(size); /* TODO: get rid of vzalloc */ 950 950 951 - if (bitmap == NULL) { 952 - udf_err(sb, "Unable to allocate space for bitmap and %d buffer_head pointers\n", 953 - nr_groups); 951 + if (bitmap == NULL) 954 952 return NULL; 955 - } 956 953 957 954 bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1); 958 955 bitmap->s_nr_groups = nr_groups;