| commit | b2bf96833c5782befc3e7700f791fde754a47b01 | [log] [tgz] |
|---|---|---|
| author | Jens Axboe <jens.axboe@oracle.com> | Thu Feb 19 08:50:26 2009 +0100 |
| committer | Jens Axboe <jens.axboe@oracle.com> | Thu Feb 26 10:45:48 2009 +0100 |
| tree | b38745750c948b519e4c46bb9589d3a61c6359f4 | |
| parent | 169d418b127b98a3e464e9c4b807ad083760f98c [diff] |
block: fix bogus gcc warning for uninitialized var usage
Newer gcc throw this warning:
fs/bio.c: In function ?bio_alloc_bioset?:
fs/bio.c:305: warning: ?p? may be used uninitialized in this function
since it cannot figure out that 'p' is only ever used if 'bs' is non-NULL.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>