[PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str()

From: Chen Gang
Date: Mon Aug 19 2013 - 23:57:22 EST


For the implementation (patch 1/3), need fill buffer as full as
possible when buffer space is not enough.

For the caller (patch 2/3, 3/3), need check the return value of
mpol_to_str().

Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
---
fs/proc/task_mmu.c | 16 ++++++++++++++--
mm/mempolicy.c | 14 ++++++++++----
mm/shmem.c | 15 ++++++++++++++-
3 files changed, 38 insertions(+), 7 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/