mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-15 19:56:19 +00:00
SCST core and iSCSI-SCST: Port to RHEL / CentOS / SL 5.7 (merged r4111 and r4112 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2746,7 +2746,8 @@ EXPORT_SYMBOL_GPL(scst_create_proc_entry);
|
||||
|
||||
int scst_single_seq_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) \
|
||||
|| defined(RHEL_MAJOR) && RHEL_MAJOR -0 >= 5 && RHEL_MINOR -0 >= 7
|
||||
struct scst_proc_data *pdata = container_of(PDE(inode)->proc_fops,
|
||||
struct scst_proc_data, seq_op);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user