[PATCH 1/3] scatterlist: add sg_clone_table function

2012-11-07 Thread Prathyush K
This patch adds another constructor for an sg table. An sg table is created from an existing sg table. The new sg table is allocated and initialized with same data from the original sg table. The user has to call 'sg_clone_table' with the required sg table, the existing sg table and the gfp

[PATCH 1/3] scatterlist: add sg_clone_table function

2012-11-07 Thread Prathyush K
This patch adds another constructor for an sg table. An sg table is created from an existing sg table. The new sg table is allocated and initialized with same data from the original sg table. The user has to call 'sg_clone_table' with the required sg table, the existing sg table and the gfp