Skip to content

Commit

Permalink
ldm: Silence "ldm_validate_partition_table(): Disk read failed" when …
Browse files Browse the repository at this point in the history
…booting with "quiet"

When the kernel does partition detection, on certain configurations with
external fibre channel raid systems (e.g. clariion from EMC) the read
would fail. And "ldm_validate_partition_table(): Disk read failed"
messages are printed to the console.

But the failure to read is not a critical error. Now since the message
is flagged as KERN_CRIT, it gets printed even when booting with the
"quiet" kernel parameter. Fix it by using KERN_INFO, as the failure to
read here is not really an error.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Reported-by : Klaus Hartmann <Klaus.Hartmann@ts.fujitsu.com>
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Nikanth Karthikesan authored and Jiri Kosina committed Apr 10, 2011
1 parent 853a137 commit 1dd45aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/partitions/ldm.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static bool ldm_validate_partition_table(struct parsed_partitions *state)

data = read_part_sector(state, 0, &sect);
if (!data) {
ldm_crit ("Disk read failed.");
ldm_info ("Disk read failed.");
return false;
}

Expand Down

0 comments on commit 1dd45aa

Please sign in to comment.