[PATCH]Fix return code for mkdir calls

From: Ciju Rajan K
Date: Fri Aug 20 2010 - 04:52:22 EST


This is a multi-part message in MIME format.Hi,

This patch fixes the return value when the cgroup hierarchy for blkio control groups is deeper than two levels. Right now EINVAL is returned. This patch replaces EINVAL with more appropriate EPERM to align with mkdir system call return values. This was discussed between Vivek and Daniel sometime back. Please consider this patch for inclusion in 2.6.36.

Thanks
Ciju