diff options
author | Richard Yao <[email protected]> | 2014-06-29 01:00:02 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-08-13 16:25:44 -0700 |
commit | ec18fe3ce8f27cfd86743f091d2d57e78dd8a5af (patch) | |
tree | 1f2714802668da9a29a795e094a6f23c7ec5c6f9 /module/spl/spl-generic.c | |
parent | 2fc44f66ec9b83069593d87cf311069458c0d5ae (diff) |
Cleanup vn_rename() and vn_remove()
zfsonlinux/spl#bcb15891ab394e11615eee08bba1fd85ac32e158 implemented
Linux 3.6+ support by adding duplicate vn_rename and vn_remove
functions. The new ones were cleaner, but the duplicate functions made
the codebase less maintainable. This adds some compatibility shims that
allow us to retire the older vn_rename and vn_remove in favor of the new
ones on old kernels. The result is a net 143 line reduction in lines of
code and a cleaner codebase.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #370
Diffstat (limited to 'module/spl/spl-generic.c')
-rw-r--r-- | module/spl/spl-generic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index 6cb73ddb7..194cd7df1 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -664,9 +664,6 @@ __init spl_init(void) if ((rc = spl_kmem_init_kallsyms_lookup())) SGOTO(out10, rc); - if ((rc = spl_vn_init_kallsyms_lookup())) - SGOTO(out10, rc); - printk(KERN_NOTICE "SPL: Loaded module v%s-%s%s\n", SPL_META_VERSION, SPL_META_RELEASE, SPL_DEBUG_STR); SRETURN(rc); |