[linux-lvm] lvm fails when /proc/devices contains "-1 smblk"

Alasdair G Kergon agk at redhat.com
Sat Mar 17 16:12:20 UTC 2012


> Dne 16.3.2012 07:28, John Mesmon napsal(a):
> > Block devices:
> >  -1 smblk

That's outside the range of valid major numbers and surely shouldn't be getting
exposed to userspace in /proc/devices.

static struct mtd_blktrans_ops sm_ftl_ops = {
        .name           = "smblk",
        .major          = -1,

Why's -1 being used?

Alasdair




More information about the linux-lvm mailing list