Skip to content

Commit

Permalink
nbd: lower the loglevel of an error message
Browse files Browse the repository at this point in the history
This is only an error, no need to use KERN_CRIT log level.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
  • Loading branch information
WANG Cong authored and Jens Axboe committed Aug 19, 2011
1 parent 7f1b90f commit 7742ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ static int __init nbd_init(void)
BUILD_BUG_ON(sizeof(struct nbd_request) != 28);

if (max_part < 0) {
printk(KERN_CRIT "nbd: max_part must be >= 0\n");
printk(KERN_ERR "nbd: max_part must be >= 0\n");
return -EINVAL;
}

Expand Down

0 comments on commit 7742ce4

Please sign in to comment.