diff options
author | Geert Uytterhoeven <[email protected]> | 2009-06-10 04:38:40 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-06-15 16:47:21 +1000 |
commit | 13685a1654b65357fb34066a98ef40445f7820fc (patch) | |
tree | 89a18aa144873b1224618fa399dd6654751ed2b6 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | c2e95c6d7a9b9d8f023c3639edbb1da65ccd15ac (diff) |
block: Add bio_list_peek()
Introduce bio_list_peek(), to obtain a pointer to the first bio on the bio_list
without actually removing it from the list. This is needed when you want to
serialize based on the list being empty or not.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions