aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-01-31 17:42:10 -0500
committerJan Kara <jack@suse.cz>2012-02-29 15:53:46 -0500
commit75b09e022fc22d675c726c94b1b73f5d08dafdf6 (patch)
tree9c8614e609fcc3cb741d435b5a465f46bfcd693e /fs/udf
parent88ebdda6159ffc15699f204c33feb3e431bf9bdc (diff)
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>
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/super.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index c09a84daaf50..19111f92d60f 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -948,11 +948,8 @@ static struct udf_bitmap *udf_sb_alloc_bitmap(struct super_block *sb, u32 index)
948 else 948 else
949 bitmap = vzalloc(size); /* TODO: get rid of vzalloc */ 949 bitmap = vzalloc(size); /* TODO: get rid of vzalloc */
950 950
951 if (bitmap == NULL) { 951 if (bitmap == NULL)
952 udf_err(sb, "Unable to allocate space for bitmap and %d buffer_head pointers\n",
953 nr_groups);
954 return NULL; 952 return NULL;
955 }
956 953
957 bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1); 954 bitmap->s_block_bitmap = (struct buffer_head **)(bitmap + 1);
958 bitmap->s_nr_groups = nr_groups; 955 bitmap->s_nr_groups = nr_groups;