[PATCH 0/3] simple mmap() cleanups
From: Oleg Nesterov
Date: Sun Jul 14 2013 - 12:59:55 EST
Hello.
Hopefully the simple cleanups, but need the authoritative acks.
I simply can't understand the VM_GROWS* check in mmap_region(),
did I miss something subtle? I will appreciate any review.
Can't resist. "(prot&PROT_WRITE) && !(file->f_mode&FMODE_WRITE)"
asks for the whitespace cleanup, but this will break the 80-col
rule. Perhaps we should relax it...
Oleg.
mm/mmap.c | 28 ++++++++++------------------
1 files changed, 10 insertions(+), 18 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/