]> git.karo-electronics.de Git - karo-tx-linux.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)
commit275d3ba6b40d0f098693b9089c6fee9bd4e55d74
tree0f78d9bc4fe10424a692370655d27ee6f509a470
parent9331b6261058eb85ae7c57ab8ac279e7fdaa9f04
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