Skip to content

Commit

Permalink
Include sys/taskq.h in linux/vfs_compat.h
Browse files Browse the repository at this point in the history
We should have included sys/taskq.h directly because we use the taskq
code here, but we instead had files that included sys/taskq.h also
include sys/kmem.h, which happened to include sys/taskq.h. sys/kmem.h no
longer does this, so we must define the include as we should
have done in the first place.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#2411
  • Loading branch information
ryao committed Nov 29, 2014
1 parent d54da1f commit 1124f97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/vfs_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#ifndef _ZFS_VFS_H
#define _ZFS_VFS_H

#include <sys/taskq.h>

/*
* 2.6.28 API change,
* Added insert_inode_locked() helper function, prior to this most callers
Expand Down

0 comments on commit 1124f97

Please sign in to comment.