Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

SPL can not build on 2.6.39 kernel #39

Closed
igsbox opened this issue Apr 18, 2011 · 1 comment
Closed

SPL can not build on 2.6.39 kernel #39

igsbox opened this issue Apr 18, 2011 · 1 comment

Comments

@igsbox
Copy link

igsbox commented Apr 18, 2011

I try to compile zfs+spl on Jeremy's kernel 2.6.39-rc3 and receive error:

/tmp/spl-build-root-keyAkN9Q/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c:42: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
/tmp/spl-build-root-keyAkN9Q/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c: In function ‘vn_remove’:
/tmp/spl-build-root-keyAkN9Q/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c:319: error: implicit declaration of function ‘path_lookup’

As I see in kernel header file linux/spinlock_types.h, SPIN_LOCK_UNLOCKED was deprecated already in 2.6.32 and now in 2.6.39 no such definition exist.

@behlendorf
Copy link
Contributor

Fixed by commit 83c623a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants