Use include missing zfs_config.h and use ZFS_META_VERSION (not VERSION)

This commit is contained in:
Brian Behlendorf 2009-03-17 16:02:09 -07:00
parent 5edabb999f
commit a9b0088f48
1 changed files with 5 additions and 2 deletions

View File

@ -67,6 +67,7 @@
#include "zfs_namecheck.h"
#include "zfs_prop.h"
#include "zfs_deleg.h"
#include "zfs_config.h"
extern struct modlfs zfs_modlfs;
@ -3233,7 +3234,8 @@ init(void)
rc = _init();
if (!rc)
printk(KERN_INFO "ZFS: Loaded ZFS Filesystem v%s\n", VERSION);
printk(KERN_INFO "ZFS: Loaded ZFS Filesystem v%s\n",
ZFS_META_VERSION);
return rc;
}
@ -3242,7 +3244,8 @@ void
fini(void)
{
(void)_fini();
printk(KERN_INFO "ZFS: Unloaded ZFS Filesystem v%s\n", VERSION);
printk(KERN_INFO "ZFS: Unloaded ZFS Filesystem v%s\n",
ZFS_META_VERSION);
}
module_init(init);