SG: Change sg_set_page() to take length and offset argument
authorJens Axboe <jens.axboe@oracle.com>
Wed, 24 Oct 2007 09:20:47 +0000 (11:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 24 Oct 2007 09:20:47 +0000 (11:20 +0200)
commit642f149031d70415d9318b919d50b71e4724adbd
treee792ad29dedffc6756d55e9d63e18ada35515b4b
parentbd6dee6f30a0f6943df190b387b5f8fe98a848f3
SG: Change sg_set_page() to take length and offset argument

Most drivers need to set length and offset as well, so may as well fold
those three lines into one.

Add sg_assign_page() for those two locations that only needed to set
the page, where the offset/length is set outside of the function context.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
31 files changed:
block/ll_rw_blk.c
crypto/hmac.c
drivers/ata/libata-core.c
drivers/block/cryptoloop.c
drivers/block/ub.c
drivers/ieee1394/dma.c
drivers/infiniband/core/umem.c
drivers/infiniband/hw/mthca/mthca_memfree.c
drivers/md/dm-crypt.c
drivers/media/common/saa7146_core.c
drivers/media/video/ivtv/ivtv-udma.c
drivers/media/video/videobuf-dma-sg.c
drivers/net/mlx4/icm.c
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/scsi/ipr.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/osst.c
drivers/scsi/sg.c
drivers/scsi/st.c
fs/ecryptfs/crypto.c
include/asm-frv/scatterlist.h
include/linux/scatterlist.h
net/core/skbuff.c
net/ieee80211/ieee80211_crypt_tkip.c
net/sctp/auth.c
net/sctp/sm_make_chunk.c
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/xdr.c
net/xfrm/xfrm_algo.c