summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-mod.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-02-26 16:21:12 +0100
committerMike Marshall <hubcap@omnibond.com>2016-02-26 16:21:12 +0100
commitca9f518eadeb7edd8e438a6542d3caec9bc3bb74 (patch)
tree398f2460c1516015c78516e2888ea28af54c07a0 /fs/orangefs/orangefs-mod.c
parentorangefs: remove unused 'diff' function (diff)
downloadlinux-ca9f518eadeb7edd8e438a6542d3caec9bc3bb74.tar.xz
linux-ca9f518eadeb7edd8e438a6542d3caec9bc3bb74.zip
Orangefs: code sanitation.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-mod.c')
-rw-r--r--fs/orangefs/orangefs-mod.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c
index 965959cb11d1..a4e08dd3e669 100644
--- a/fs/orangefs/orangefs-mod.c
+++ b/fs/orangefs/orangefs-mod.c
@@ -119,10 +119,10 @@ static int __init orangefs_init(void)
if (gossip_debug_mask != 0)
kernel_mask_set_mod_init = true;
- /* print information message to the system log */
- pr_info("orangefs: orangefs_init called with debug mask: :%s: :%llx:\n",
- kernel_debug_string,
- (unsigned long long)gossip_debug_mask);
+ pr_info("%s: called with debug mask: :%s: :%llx:\n",
+ __func__,
+ kernel_debug_string,
+ (unsigned long long)gossip_debug_mask);
ret = bdi_init(&orangefs_backing_dev_info);
@@ -147,7 +147,8 @@ static int __init orangefs_init(void)
/* Initialize the orangefsdev subsystem. */
ret = orangefs_dev_init();
if (ret < 0) {
- gossip_err("orangefs: could not initialize device subsystem %d!\n",
+ gossip_err("%s: could not initialize device subsystem %d!\n",
+ __func__,
ret);
goto cleanup_inode;
}