mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-19 22:42:38 +00:00
fcst: Fix build on pre-2.6.36 kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4869 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -512,6 +512,13 @@ static void ft_prlo(struct fc_rport_priv *rdata)
|
||||
rdata->prli_count--;
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36)
|
||||
static inline u32 fc_frame_sid(const struct fc_frame *fp)
|
||||
{
|
||||
return ntoh24(fc_frame_header_get(fp)->fh_s_id);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Handle incoming FCP request.
|
||||
* Caller has verified that the frame is type FCP.
|
||||
|
||||
Reference in New Issue
Block a user