untangling do_mremap(), part 1
authorAl Viro <[email protected]>
Tue, 24 Nov 2009 12:17:46 +0000 (07:17 -0500)
committerAl Viro <[email protected]>
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 <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Signed-off-by: Al Viro <[email protected]>
mm/mremap.c