]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
scsi_command_size became scsi_command_size_tbl
authorJeffrey Hutzelman <jhutz@cmu.edu>
Mon, 28 Jun 2010 20:27:35 +0000 (16:27 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Fri, 12 Jul 2013 17:38:44 +0000 (10:38 -0700)
Change-Id: If91922944f90df11d5a09cd09cbb66c16296d366
Reviewed-on: http://gerrit.openafs.org/9964
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/LINUX/osi_probe.c

index c95f94c55e3fe87cd794ecf3a7cbfcb826d1bc0d..43cc5708710d9b33f508f8d2d263581e100a32fa 100644 (file)
 #if defined(ENABLE_LINUX_SYSCALL_PROBING)
 #include <linux/module.h> /* early to avoid printf->printk mapping */
 #include <scsi/scsi.h> /* 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"