From: Li Hong <lihong.hi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: KONISHI Ryusuke
<konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>,
linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 2/2] nilfs2: add a print message after loading nilfs2
Date: Tue, 6 Apr 2010 01:35:34 +0800 [thread overview]
Message-ID: <20100405173534.GB22644@xhl> (raw)
In-Reply-To: <20100405173402.GA22644@xhl>
From b4e426f77cd05bd6046c1fa67c51ee06368ea23e Mon Sep 17 00:00:00 2001
From: Li Hong <lihong.hi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Tue, 6 Apr 2010 01:23:04 +0800
Subject: [PATCH] nilfs2: add a print message after loading nilfs2
Signed-off-by: Li Hong <lihong.hi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-04-05 17:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 17:34 [PATCH 1/2] nilfs2: cleanup multi kmem_cache_{create,destroy} code Li Hong
2010-04-05 17:35 ` Li Hong [this message]
2010-04-07 14:20 ` [PATCH 2/2] nilfs2: add a print message after loading nilfs2 Li Hong
2010-04-08 2:34 ` Ryusuke Konishi
[not found] ` <20100408.113405.221629738.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-04-08 5:45 ` Li Hong
[not found] ` <u2p3a3680031004072245t5ea476a5xbd6cbe6d3302de00-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-08 7:21 ` Ryusuke Konishi
[not found] ` <20100408.162141.218082254.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-04-08 15:47 ` Li Hong
2010-04-08 4:44 ` [PATCH 1/2] nilfs2: cleanup multi kmem_cache_{create,destroy} code Ryusuke Konishi
[not found] ` <20100408.134456.221581029.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-04-09 12:41 ` Ryusuke Konishi
-- strict thread matches above, loose matches on Subject: below --
2010-04-09 15:18 Li Hong
2010-04-09 15:19 ` [PATCH 2/2] nilfs2: add a print message after loading nilfs2 Li Hong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100405173534.GB22644@xhl \
--to=lihong.hi-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox