diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2006-04-27 19:41:31 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-29 18:56:26 -0400 |
commit | 781ee3e2b1ea41d56ed86ae1c85fc40b7f330205 (patch) | |
tree | 00e605613fbf589ec50399873eae1a4eed536635 /fs/ocfs2/super.c | |
parent | a43db30c7c614c08851a97476aeb317ca2e14475 (diff) |
ocfs2: Cleanup message prints
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index cdf73393f094..4e214ecb5886 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -642,10 +642,9 @@ static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) | |||
642 | 642 | ||
643 | ocfs2_complete_mount_recovery(osb); | 643 | ocfs2_complete_mount_recovery(osb); |
644 | 644 | ||
645 | printk("ocfs2: Mounting device (%u,%u) on (node %d, slot %d) with %s " | 645 | printk(KERN_INFO "ocfs2: Mounting device (%s) on (node %d, slot %d) " |
646 | "data mode.\n", | 646 | "with %s data mode.\n", |
647 | MAJOR(sb->s_dev), MINOR(sb->s_dev), osb->node_num, | 647 | osb->dev_str, osb->node_num, osb->slot_num, |
648 | osb->slot_num, | ||
649 | osb->s_mount_opt & OCFS2_MOUNT_DATA_WRITEBACK ? "writeback" : | 648 | osb->s_mount_opt & OCFS2_MOUNT_DATA_WRITEBACK ? "writeback" : |
650 | "ordered"); | 649 | "ordered"); |
651 | 650 | ||
@@ -1020,7 +1019,7 @@ static int ocfs2_fill_local_node_info(struct ocfs2_super *osb) | |||
1020 | goto bail; | 1019 | goto bail; |
1021 | } | 1020 | } |
1022 | 1021 | ||
1023 | mlog(ML_NOTICE, "I am node %d\n", osb->node_num); | 1022 | mlog(0, "I am node %d\n", osb->node_num); |
1024 | 1023 | ||
1025 | status = 0; | 1024 | status = 0; |
1026 | bail: | 1025 | bail: |
@@ -1191,8 +1190,8 @@ static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err) | |||
1191 | 1190 | ||
1192 | atomic_set(&osb->vol_state, VOLUME_DISMOUNTED); | 1191 | atomic_set(&osb->vol_state, VOLUME_DISMOUNTED); |
1193 | 1192 | ||
1194 | printk("ocfs2: Unmounting device (%u,%u) on (node %d)\n", | 1193 | printk(KERN_INFO "ocfs2: Unmounting device (%s) on (node %d)\n", |
1195 | MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev), osb->node_num); | 1194 | osb->dev_str, osb->node_num); |
1196 | 1195 | ||
1197 | ocfs2_delete_osb(osb); | 1196 | ocfs2_delete_osb(osb); |
1198 | kfree(osb); | 1197 | kfree(osb); |
@@ -1327,7 +1326,7 @@ static int ocfs2_initialize_super(struct super_block *sb, | |||
1327 | status = -EINVAL; | 1326 | status = -EINVAL; |
1328 | goto bail; | 1327 | goto bail; |
1329 | } | 1328 | } |
1330 | mlog(ML_NOTICE, "max_slots for this device: %u\n", osb->max_slots); | 1329 | mlog(0, "max_slots for this device: %u\n", osb->max_slots); |
1331 | 1330 | ||
1332 | init_waitqueue_head(&osb->osb_wipe_event); | 1331 | init_waitqueue_head(&osb->osb_wipe_event); |
1333 | osb->osb_orphan_wipes = kcalloc(osb->max_slots, | 1332 | osb->osb_orphan_wipes = kcalloc(osb->max_slots, |