scst: Make the source code build again for kernels 2.6.29 .. 2.6.31

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-04-27 07:39:50 +00:00
parent 24a0dca5c6
commit e119078248
+3 -3
View File
@@ -892,7 +892,7 @@ static void vdisk_detach(struct scst_device *dev)
TRACE_ENTRY();
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32)
lockdep_assert_held(&scst_mutex);
#endif
@@ -916,7 +916,7 @@ static int vdisk_attach_tgt(struct scst_tgt_dev *tgt_dev)
TRACE_ENTRY();
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32)
lockdep_assert_held(&scst_mutex);
#endif
@@ -949,7 +949,7 @@ static void vdisk_detach_tgt(struct scst_tgt_dev *tgt_dev)
TRACE_ENTRY();
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32)
lockdep_assert_held(&scst_mutex);
#endif