commit | cb7d8d7e6737cad77d5eaba9f9c95f3322706198 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Mon Dec 04 20:13:35 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 05 15:46:34 2018 +0100 |
tree | c722799e5beb472956cc115873dc350029cd4a09 | |
parent | 3df146178706bf39cfcb22d7fe1a378af6dc5896 [diff] |
kaiser: fix unlikely error in alloc_ldt_struct() An error from kaiser_add_mapping() here is not at all likely, but Eric Biggers rightly points out that __free_ldt_struct() relies on new_ldt->size being initialized: move that up. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>