scst_local: Rearranged a preprocessor directive such that generate-kernel-patch can expand it.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-01 06:39:49 +00:00
parent dc65372a4d
commit cf131e0d20

View File

@@ -1116,14 +1116,15 @@ static int scst_local_queuecommand_lck(struct scsi_cmnd *SCpnt,
return 0;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37) && \
!defined(CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
#if !defined(CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING)
/*
* See comment in scst_local_queuecommand_lck() near
* CONFIG_SCST_LOCAL_FORCE_DIRECT_PROCESSING
*/
static DEF_SCSI_QCMD(scst_local_queuecommand)
#endif
#endif
static int scst_local_targ_pre_exec(struct scst_cmd *scst_cmd)
{