mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
scsi_command_size became scsi_command_size_tbl
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>
This commit is contained in:
parent
ba42758ce2
commit
7694f536d3
@ -56,6 +56,10 @@
|
|||||||
#if defined(ENABLE_LINUX_SYSCALL_PROBING)
|
#if defined(ENABLE_LINUX_SYSCALL_PROBING)
|
||||||
#include <linux/module.h> /* early to avoid printf->printk mapping */
|
#include <linux/module.h> /* early to avoid printf->printk mapping */
|
||||||
#include <scsi/scsi.h> /* for scsi_command_size */
|
#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
|
#ifndef OSI_PROBE_STANDALONE
|
||||||
# include "afs/sysincludes.h"
|
# include "afs/sysincludes.h"
|
||||||
# include "afsincludes.h"
|
# include "afsincludes.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user