]> err.no Git - linux-2.6/blobdiff - security/device_cgroup.c
ueagle-atm: treat firmware data as const
[linux-2.6] / security / device_cgroup.c
index baf348834b66c003758246427a98907d38f78c14..fd764a0858d0d5f1f60f1b671cbcc41c04be77dd 100644 (file)
@@ -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;