]> git.baikalelectronics.ru Git - kernel.git/commit
iscsi: Add Serial Number Arithmetic LT and GT into iscsi_proto.h
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 22 Mar 2011 21:14:09 +0000 (14:14 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 25 Jul 2011 07:48:08 +0000 (07:48 +0000)
commitbdbb557b4d5a1d4a585d64aa320589bc47f27bb3
tree4776c640eb8aab7e8a957f9890a7e49a48855d2d
parent3138d7bbf6132e74189cd633afd35a066eb7467f
iscsi: Add Serial Number Arithmetic LT and GT into iscsi_proto.h

This patch moves the iscsi_sna_lt() and iscsi_sna_lte(), along with
iscsi_sna_gt() and iscsi_sna_gte() from iscsi_target_mod into
static inlines inside of include/scsi/iscsi_proto.h

This patch also includes the ISCSI_HDR_LEN and ISCSI_CRC_LEN
definitions.

(Added JesperJ simpliciation for iscsi_sna_* usage)

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
drivers/scsi/libiscsi.c
include/scsi/iscsi_proto.h