From 7694f536d3997768b69a635616b0cf24d71a595a Mon Sep 17 00:00:00 2001 From: Jeffrey Hutzelman Date: Mon, 28 Jun 2010 16:27:35 -0400 Subject: [PATCH] scsi_command_size became scsi_command_size_tbl Change-Id: If91922944f90df11d5a09cd09cbb66c16296d366 Reviewed-on: http://gerrit.openafs.org/9964 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/LINUX/osi_probe.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afs/LINUX/osi_probe.c b/src/afs/LINUX/osi_probe.c index c95f94c55e..43cc570871 100644 --- a/src/afs/LINUX/osi_probe.c +++ b/src/afs/LINUX/osi_probe.c @@ -56,6 +56,10 @@ #if defined(ENABLE_LINUX_SYSCALL_PROBING) #include /* early to avoid printf->printk mapping */ #include /* for scsi_command_size */ +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26) +/* Slightly kludgy, but too bad */ +#define scsi_command_size scsi_command_size_tbl +#endif #ifndef OSI_PROBE_STANDALONE # include "afs/sysincludes.h" # include "afsincludes.h"