diff options
author | Brian Behlendorf <[email protected]> | 2011-11-09 12:29:51 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-11-09 16:51:25 -0800 |
commit | 12ff95ff579d0203790aff69632c7ab12ce56140 (patch) | |
tree | fac52bd30a7fc2f1589c5192788bc0b656abd24a /include/sys | |
parent | b8b6e4c453929596b630fa1cca1ee26a532a2ab4 (diff) |
Linux 3.1 compat, kern_path_parent()
Prior to Linux 3.1 the kern_path_parent symbol was exported for
use by kernel modules. As of Linux 3.1 it is now longer easily
available. To handle this case the spl will now dynamically
look up address of the missing symbol at module load time.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #52
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/vnode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/vnode.h b/include/sys/vnode.h index 36605ca4a..03462bd70 100644 --- a/include/sys/vnode.h +++ b/include/sys/vnode.h @@ -189,8 +189,9 @@ extern file_t *vn_getf(int fd); extern void vn_releasef(int fd); extern int vn_set_pwd(const char *filename); -int vn_init(void); -void vn_fini(void); +int spl_vn_init_kallsyms_lookup(void); +int spl_vn_init(void); +void spl_vn_fini(void); #define VOP_CLOSE vn_close #define VOP_SEEK vn_seek |