]> git.baikalelectronics.ru Git - kernel.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)
commit3b73a8cbfbf1b8ac4784859b86da86caf0d7c9ba
tree1f8cda247a0f1e0f6eb8346da151e64b5d46e0ed
parent586a4fd90a881e90aa0d5efc338fc63dd7dede55
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