bio: add documentation to bio_alloc()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 15 Apr 2009 07:00:07 +0000 (09:00 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 15 Apr 2009 10:10:12 +0000 (12:10 +0200)
commit86c824b9434e764d01489688e4e38aee43b93fcf
tree0aa776b6fb5af04e9392c3f49842eeee97a5bd74
parent61e0d47c33cc371f725bcda4a47ae0efe652dba8
bio: add documentation to bio_alloc()

Explain that with __GFP_WAIT set it will not fail, and that the caller
must never allocate more than 1 bio at the time.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c