diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2007-12-18 01:19:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-18 04:28:16 +0100 |
commit | bbd0682596f7a434467ee551fee18d5f0b818539 (patch) | |
tree | 3afd7cbb301125fc21799a5fd9a70c2b5d700f17 /mm/mremap.c | |
parent | mm/sparse.c: check the return value of sparse_index_alloc() (diff) | |
download | linux-bbd0682596f7a434467ee551fee18d5f0b818539.tar.xz linux-bbd0682596f7a434467ee551fee18d5f0b818539.zip |
mm/sparse.c: improve the error handling for sparse_add_one_section()
Improve the error handling for mm/sparse.c::sparse_add_one_section(). And I
see no reason to check 'usemap' until holding the 'pgdat_resize_lock'.
[geoffrey.levand@am.sony.com: sparse_index_init() returns -EEXIST]
Cc: Christoph Lameter <clameter@sgi.com>
Acked-by: Dave Hansen <haveblue@us.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Acked-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions