x86: improve _put_page_type() readability
authorJan Beulich <jbeulich@suse.com>
Fri, 15 Dec 2017 10:15:16 +0000 (11:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Dec 2017 10:15:16 +0000 (11:15 +0100)
commit932dddc440f2a3e390b04fade513940296b7e99a
treee4f28e3e176dfcfb88b45304855a57978fb4a759
parent5d0f135265b8da4ee037ad25ee07f801b873bbd8
x86: improve _put_page_type() readability

By limiting the scope of rc it is more obvious that failure can be
reported only if _put_final_page_type() failed.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citix.com>
xen/arch/x86/mm.c