aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorWANG Cong <amwang@redhat.com>2011-08-19 08:48:28 -0400
committerJens Axboe <jaxboe@fusionio.com>2011-08-19 08:48:28 -0400
commit7742ce4ab49976851ce7f0185dcbe491935371a2 (patch)
treebcfca24f3a625e6a9f142d2fceb8d71e3c34792d /drivers/block
parent7f1b90f99a2d4253f8eb1221d39da072178adbc5 (diff)
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')
-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 1b8e09fffd5..2b5fc11be37 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -745,7 +745,7 @@ static int __init nbd_init(void)
745 BUILD_BUG_ON(sizeof(struct nbd_request) != 28); 745 BUILD_BUG_ON(sizeof(struct nbd_request) != 28);
746 746
747 if (max_part < 0) { 747 if (max_part < 0) {
748 printk(KERN_CRIT "nbd: max_part must be >= 0\n"); 748 printk(KERN_ERR "nbd: max_part must be >= 0\n");
749 return -EINVAL; 749 return -EINVAL;
750 } 750 }
751 751