X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=security%2Fdevice_cgroup.c;h=fd764a0858d0d5f1f60f1b671cbcc41c04be77dd;hb=d823f6bfec2844493c05961133895de21fa0e02d;hp=baf348834b66c003758246427a98907d38f78c14;hpb=26ff8c697a2c8f6974c2357d3f01cca91b20c964;p=linux-2.6-omap-h63xx.git diff --git a/security/device_cgroup.c b/security/device_cgroup.c index baf348834b6..fd764a0858d 100644 --- a/security/device_cgroup.c +++ b/security/device_cgroup.c @@ -382,6 +382,8 @@ static ssize_t devcgroup_access_write(struct cgroup *cgroup, struct cftype *cft, case 'a': wh.type = DEV_ALL; wh.access = ACC_MASK; + wh.major = ~0; + wh.minor = ~0; goto handle; case 'b': wh.type = DEV_BLOCK;