xen-blkback: enlarge the array size of blkback name
authorTao Chen <boby.chen@huawei.com>
Fri, 27 Mar 2015 13:15:54 +0000 (13:15 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 7 Apr 2015 14:32:42 +0000 (10:32 -0400)
commit1375590d3e18b4d87d2f768178e93a0c8644a7dc
treed32405daeee72d703e42f906c9805808039dcd3f
parentde9ad6d4edb63e0ba5d5aae365fb3565064fc00d
xen-blkback: enlarge the array size of blkback name

The blkback name is like blkback.domid.xvd[a-z], if domid has four digits
(means larger than 1000), then the backmost xvd wouldn't be fully shown.

Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of
blkback name, so it will be fully shown in any case.

Signed-off-by: Tao Chen <boby.chen@huawei.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
drivers/block/xen-blkback/xenbus.c