summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-06-01 09:37:25 (GMT)
committerNeilBrown <neilb@suse.de>2010-07-26 02:52:26 (GMT)
commitf4be6b43f1ac60dff00ef0923ee43b0e08872947 (patch)
treeb4fbfed60c0614d97a91638483058a133ddfcbf4 /tools
parentc41d4ac40df0d01bf9c383ff28f194d1df2d4fd9 (diff)
downloadlinux-fsl-qoriq-f4be6b43f1ac60dff00ef0923ee43b0e08872947.tar.xz
md/raid5: ensure we create a unique name for kmem_cache when mddev has no gendisk
We will shortly allow md devices with no gendisk (they are attached to a dm-target instead). That will cause mdname() to return 'mdX'. There is one place where mdname really needs to be unique: when creating the name for a slab cache. So in that case, if there is no gendisk, you the address of the mddev formatted in HEX to provide a unique name. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions