]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit7745883f99c0e81e6bc71527d23ca363eb125a3f
tree1f8cda247a0f1e0f6eb8346da151e64b5d46e0ed
parent74039f20b5e2fdea658add9b95a0d075420b95dc
ext4: add check to io_submit_init_bio

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