Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
This commit is contained in:
commit
58df2601b0
|
@ -560,6 +560,12 @@ libzfs_init(void)
|
|||
return (NULL);
|
||||
}
|
||||
|
||||
#if defined(HAVE_SPL) && !defined(HAVE_GPL_ONLY_SYMBOLS)
|
||||
/* If we don't have access to GPL-only symbols then we may not
|
||||
* use the udev APIs, therefore we must mknod the device ourselves. */
|
||||
(void)mknod(ZFS_DEV, S_IFCHR | 0600, makedev(ZFS_MAJOR, 0));
|
||||
#endif
|
||||
|
||||
if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) {
|
||||
free(hdl);
|
||||
return (NULL);
|
||||
|
|
|
@ -3188,7 +3188,7 @@ init(void)
|
|||
|
||||
rc = _init();
|
||||
if (!rc)
|
||||
printk(KERN_INFO "ZFS: Loaded v%s\n", VERSION);
|
||||
printk(KERN_INFO "ZFS: Loaded ZFS Filesystem v%s\n", VERSION);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
@ -3197,7 +3197,7 @@ void
|
|||
fini(void)
|
||||
{
|
||||
(void)_fini();
|
||||
printk(KERN_INFO "ZFS: Unloaded v%s\n", VERSION);
|
||||
printk(KERN_INFO "ZFS: Unloaded ZFS Filesystem v%s\n", VERSION);
|
||||
}
|
||||
|
||||
module_init(init);
|
||||
|
|
Loading…
Reference in New Issue