diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-23 09:49:25 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-23 09:49:25 +0200 |
commit | 7aeacf982203fb4dea2f3434eefdc268cfd5d6d9 (patch) | |
tree | 93a3991d5ab854fce477d9e28e55b720fd6ac81a /init/main.c | |
parent | ad0d4083e65d9f223275adbfb9a7927e2120dc6c (diff) | |
download | talos-obmc-linux-7aeacf982203fb4dea2f3434eefdc268cfd5d6d9.tar.gz talos-obmc-linux-7aeacf982203fb4dea2f3434eefdc268cfd5d6d9.zip |
[BLOCK] blk_rq_map_sg: force clear termination bit
Since blk_rq_map_sg() sets the termination bit at the end of the sg
table, we could see it prematurely on the next mapping unless we
force drivers to do a full sg_init_table() prior to each mapping. So
force clear the termination bit to avoid having to put that clear in
the driver for every mapping.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions