mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
scst: Port to RHEL 5.7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4111 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2738,7 +2738,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