ANDROID: GKI: add a parameter to vh_blk_fill_rwbs

We need to pass the parameter "i" from the blk_fill_rwbs function into
the vendor hook. It will help us to ensure th correct order of buffer
filling.

Bug: 349776687

Change-Id: I0e6c630a40e1b120da4fcdbccfee23d400b7aa43
Signed-off-by: Wang Jianzheng <11134417@vivo.corp-partner.google.com>
This commit is contained in:
Wang Jianzheng 2024-06-27 21:34:21 +08:00 committed by Treehugger Robot
parent e763f6a5a9
commit d4103f937a

View File

@ -1910,9 +1910,9 @@ void blk_fill_rwbs(char *rwbs, blk_opf_t opf)
rwbs[i++] = 'S';
if (opf & REQ_META)
rwbs[i++] = 'M';
trace_android_vh_blk_fill_rwbs(rwbs, opf);
rwbs[i] = '\0';
trace_android_vh_blk_fill_rwbs(rwbs, opf);
}
EXPORT_SYMBOL_GPL(blk_fill_rwbs);