Skip to contentSkip to conversation

overlayfs: Print info when (un)loaded into the logs

PATCH New Sedat Dilek 1 participant 1 message Mar 13, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 overlayfs: Print info when (un)loaded into the logs

---
 fs/overlayfs/super.c | 2 ++
 1 file changed, 2 insertions(+)
fs/overlayfs/super.c +2 -0
index 482c26f..92b9ad5 100644
@@ -675,11 +675,13 @@ MODULE_ALIAS_FS("overlayfs");
 static int __init ovl_init(void)
 {
 	return register_filesystem(&ovl_fs_type);
+	printk(KERN_INFO "overlayfs: loaded\n");
 }
 
 static void __exit ovl_exit(void)
 {
 	unregister_filesystem(&ovl_fs_type);
+	printk(KERN_INFO "overlayfs: unloaded\n");
 }
 
 module_init(ovl_init);
Signature · 1 line
1.8.2.rc3