[XFRM]: skb_cow_data() does not set proper owner for new skbs.
[linux-2.6/verdex.git] / drivers / message / fusion / linux_compat.h
blob048b5b8610e3f395d3e7cfcc32cee151eef64446
1 /* drivers/message/fusion/linux_compat.h */
3 #ifndef FUSION_LINUX_COMPAT_H
4 #define FUSION_LINUX_COMPAT_H
6 #include <linux/version.h>
7 #include <scsi/scsi_device.h>
9 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
10 static int inline scsi_device_online(struct scsi_device *sdev)
12 return sdev->online;
14 #endif
17 /*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
18 #endif /* _LINUX_COMPAT_H */