ext4: add check to io_submit_init_bio
authorTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 14:18:22 +0000 (10:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 14:18:22 +0000 (10:18 -0400)
The bio_alloc() function can return NULL if the memory allocation
fails.  So we need to check for this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/page-io.c

Simple merge