diff options
| author | Gao Xiang <[email protected]> | 2019-09-04 10:09:02 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-09-05 20:10:08 +0200 |
| commit | a5c0b7802cc9631e0dee67abd30c2f022621ae7c (patch) | |
| tree | 8d12f4baf75cde72c03cd3fceb73f1f09dd9ed4c /lib/mpi/mpiutil.c | |
| parent | 688a5f2ed486914c28e17062139c07897307ee01 (diff) | |
erofs: localize erofs_grab_bio()
As Christoph pointed out [1], "erofs_grab_bio tries to
handle a bio_alloc failure, except that the function will
not actually fail due the mempool backing it."
Sorry about useless code, fix it now and
localize erofs_grab_bio [2].
[1] https://lore.kernel.org/r/[email protected]/
[2] https://lore.kernel.org/r/[email protected]/
Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions