From fda521f287de2a9764fd891e3aec8f2fdf7be6b7 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 4 Jun 2013 09:41:58 +0000 Subject: [PATCH] fcst: Follow-up for r4873 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4889 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_sess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcst/ft_sess.c b/fcst/ft_sess.c index 1e212bb0e..e376a037b 100644 --- a/fcst/ft_sess.c +++ b/fcst/ft_sess.c @@ -174,7 +174,7 @@ static u32 ft_sess_hash(u32 port_id) return hash_32(port_id, FT_SESS_HASH_BITS); } -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0) static inline int __must_check kref_get_unless_zero(struct kref *kref) { return atomic_add_unless(&kref->refcount, 1, 0);