[PATCH] fix cgroup-inflicted breakage in block_dev.c
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 23 Jun 2008 12:30:55 +0000 (08:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 23 Jun 2008 12:30:55 +0000 (08:30 -0400)
commitfe6e9c1f25ac01f848bd084ee0ee62a5a0966ff3
tree19792926f6a7e6e50f5cf1bcfa10510943f8e3cc
parent481c5346d0981940ee63037eb53e4e37b0735c10
[PATCH] fix cgroup-inflicted breakage in block_dev.c

devcgroup_inode_permission() expects MAY_FOO, not FMODE_FOO; kindly
keep your misdesign consistent if you positively have to inflict it
on the kernel.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/block_dev.c