]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove loop around bio_alloc()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2011 01:44:45 +0000 (21:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2011 01:44:45 +0000 (21:44 -0400)
commit90410e592a9a5dac6b906671a407c62d02eff1b0
tree0f78d9bc4fe10424a692370655d27ee6f509a470
parentb909976cb1df749731269a14bfaed421e5c2a99d
ext4: remove loop around bio_alloc()

These days, bio_alloc() is guaranteed to never fail (as long as nvecs
is less than BIO_MAX_PAGES), so we don't need the loop around the
struct bio allocation.

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