Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7742ce4a authored by WANG Cong's avatar WANG Cong Committed by Jens Axboe
Browse files

nbd: lower the loglevel of an error message



This is only an error, no need to use KERN_CRIT log level.

Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 7f1b90f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}