SG: clear termination bit in sg_chain()
authorJens Axboe <jens.axboe@oracle.com>
Fri, 26 Oct 2007 07:32:16 +0000 (09:32 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Oct 2007 08:18:03 +0000 (09:18 +0100)
commit73fd546aa75e9db02526bf304d4f736c4ec82b4b
treead6f7889a799c6fd1e0ace77b55856cb5ad78230
parent2a397e82c7db18019e408f953dd58dc1963a328c
SG: clear termination bit in sg_chain()

Since we are using the last entry in the list, clear any possible
termination bit that may have already been set. Pointed out by Rusty.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/scatterlist.h