scst_const.h: Make COMPARE_AND_WRITE definition available for kernel versions 3.6..3.11

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-03-20 16:10:19 +00:00
parent 46b583a918
commit a2917b0fec

View File

@@ -421,7 +421,7 @@ static inline int scst_sense_response_code(const uint8_t *sense)
#define UNMAP 0x42
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 12)
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0)
/*
* From <scsi/scsi.h>. See also commit
* 1c68cc1626341665a8bd1d2c7dfffd7fc852a79c.