]> git.baikalelectronics.ru Git - kernel.git/commit
bio: Fix outdated comment about bio_alloc_bioset()
authorJaak Ristioja <Ristioja@gmail.com>
Fri, 15 Jan 2010 10:05:07 +0000 (12:05 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:36 +0000 (12:22 +0100)
commitab7ce25ca4970719ad88c8cafba3903e91457785
treebffe9f3b834f50cbd1cb0cf778eb58ef34dbe56d
parent3b098833f9dd2f14aafa6c4286ae37b9892c2721
bio: Fix outdated comment about bio_alloc_bioset()

In commit 4549dce39c1479c5cc798abedb64500ff0f7ef17 bio_alloc_bioset()
was refactored not to take NULL as a valid argument for bs. This patch
changes the comment for that function accordingly. Currently, passing
NULL as argument to parameter bs would result in a NULL pointer
dereference.

Signed-off-by: Jaak Ristioja <ristioja@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/bio.c