summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorCiju Rajan K <ciju@linux.vnet.ibm.com>2010-08-23 10:56:30 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-23 10:56:30 +0200
commit96aa1b419d47286db446f292cf898bb1a8b27f24 (patch)
tree1b7a7c5c8131374396df69fd52d02de5de06e978 /drivers
parent9ee47476d6734c9deb9ae9ab05d963302f6b6150 (diff)
downloadblackbird-op-linux-96aa1b419d47286db446f292cf898bb1a8b27f24.tar.gz
blackbird-op-linux-96aa1b419d47286db446f292cf898bb1a8b27f24.zip
blkio: Fix return code for mkdir calls
If the cgroup hierarchy for blkio control groups is deeper than two levels, kernel should not allow the creation of further levels. mkdir system call does not except EINVAL as a return value. This patch replaces EINVAL with more appropriate EPERM Signed-off-by: Ciju Rajan K <ciju@linux.vnet.ibm.com> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud