do_mremap() untangling, part 2
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 24 Nov 2009 12:28:07 +0000 (07:28 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 11 Dec 2009 11:30:22 +0000 (06:30 -0500)
commitecc1a8993751de4e82eb18640d631dae1f626bd6
tree32c7810cb55fd379030d98defdeddd8391177077
parent54f5de709984bae0d31d823ff03de755f9dcac54
do_mremap() untangling, part 2

Take the MREMAP_FIXED into a separate helper, simplify the living
hell out of conditions in both cases.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/mremap.c