untangling do_mremap(), part 1
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 24 Nov 2009 12:17:46 +0000 (07:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 11 Dec 2009 11:30:22 +0000 (06:30 -0500)
commit54f5de709984bae0d31d823ff03de755f9dcac54
tree78961a329f646935d64a534a7c5b79fb23e3aa6b
parent3ef884b4c04e857c283cc77ca70ad8f638d94b0e
untangling do_mremap(), part 1

Take locating vma and checks on it to a separate helper (it will be
shared between MREMAP_FIXED/non-MREMAP_FIXED cases when we split
them in the next patch)

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