diff options
| author | WANG Cong <[email protected]> | 2007-12-17 16:19:59 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-12-17 19:28:16 -0800 |
| commit | bbd0682596f7a434467ee551fee18d5f0b818539 (patch) | |
| tree | 3afd7cbb301125fc21799a5fd9a70c2b5d700f17 /include/linux | |
| parent | af0cd5a7c3cded50c25e98acd94912d17a0eb914 (diff) | |
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'.
[[email protected]: sparse_index_init() returns -EEXIST]
Cc: Christoph Lameter <[email protected]>
Acked-by: Dave Hansen <[email protected]>
Cc: Rik van Riel <[email protected]>
Acked-by: Yasunori Goto <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: WANG Cong <[email protected]>
Signed-off-by: Geoff Levand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions