fix linux build error in osi_probe

Fix a build error for older versions of linux, introduced by
commit 7694f536d3
(scsi_command_size became scsi_command_size_tbl)

Fixes a build error on RHEL/CentOS 5.9; 2.6.18-348.3.1.el5.

Change-Id: I7e6f08e7f7cbba47034701e6137eb91fa567dbda
Reviewed-on: http://gerrit.openafs.org/10282
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
Michael Meffie 2013-09-27 13:35:07 -04:00 committed by Derrick Brashear
parent 1a42219e63
commit 341f2af796

View File

@ -53,6 +53,7 @@
# include "afs/param.h" # include "afs/param.h"
#endif #endif
#include <linux/version.h>
#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 */
@ -64,7 +65,6 @@
# include "afs/sysincludes.h" # include "afs/sysincludes.h"
# include "afsincludes.h" # include "afsincludes.h"
#endif #endif
#include <linux/version.h>
#include <linux/sched.h> #include <linux/sched.h>
#ifdef HAVE_LINUX_CONFIG_H #ifdef HAVE_LINUX_CONFIG_H
# include <linux/config.h> # include <linux/config.h>