summaryrefslogtreecommitdiff
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
authorWANG Cong <amwang@redhat.com>2011-08-19 16:48:28 +0400
committerJens Axboe <jaxboe@fusionio.com>2011-08-19 16:48:28 +0400
commit7742ce4ab49976851ce7f0185dcbe491935371a2 (patch)
treebcfca24f3a625e6a9f142d2fceb8d71e3c34792d /drivers/block/nbd.c
parent7f1b90f99a2d4253f8eb1221d39da072178adbc5 (diff)
downloadlinux-7742ce4ab49976851ce7f0185dcbe491935371a2.tar.xz
nbd: lower the loglevel of an error message
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>
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r--drivers/block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 1b8e09fffd5a..2b5fc11be377 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -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;
}