linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] overlayfs: Print info when (un)loaded into the logs
@ 2013-03-13 17:01 Sedat Dilek
  0 siblings, 0 replies; only message in thread
From: Sedat Dilek @ 2013-03-13 17:01 UTC (permalink / raw)
  To: Miklos Szeredi, linux-fsdevel, linux-kernel; +Cc: Sedat Dilek


Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 fs/overlayfs/super.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 482c26f..92b9ad5 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -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);
-- 
1.8.2.rc3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-13 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 17:01 [PATCH] overlayfs: Print info when (un)loaded into the logs Sedat Dilek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).