From: Ilias Tsitsimpis Date: Thu, 26 Mar 2015 15:12:42 +0000 (+0200) Subject: target: Better handling of AllRegistrants reservations X-Git-Tag: omap-for-v4.1/fixes-rc1~30^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e673dc920b805f08429e122321f8355cb97c2120;p=pandora-kernel.git target: Better handling of AllRegistrants reservations Fix AllRegistrants reservations in register_and_move() function where the code didn't handle all of the registered devices as reservation holders, resulting in the wrong warning message being displayed. At the same time, introduce a helper function named 'is_reservation_holder()' that properly checks if a device is a reservation holder, taking into account the reservation type. This function cleans up the code and improves readability. Signed-off-by: Ilias Tsitsimpis Signed-off-by: Vangelis Koukis Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed