[PATCH] nilfs2: add a print message after loading nilfs2

From: Li Hong
Date: Mon Apr 05 2010 - 13:23:04 EST



Signed-off-by: Li Hong <lihong.hi@xxxxxxxxx>
---
fs/nilfs2/super.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 2e767bc..9f91765 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -1186,7 +1186,12 @@ static int __init init_nilfs_fs(void)
return err;

err = register_filesystem(&nilfs_fs_type);
- return err;
+ if (err)
+ return err;
+
+ printk(KERN_INFO "nilfs2 file system loaded!\n");
+ return 0;
+
}

static void __exit exit_nilfs_fs(void)
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/