aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2012-11-30 16:48:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 08:43:53 -0800
commit2c77bb37171f8d07402f13a94390c8a20c985f50 (patch)
tree706c6a3617ebd37232ffc6295bf1fcba5f308f2a /mm
parentaea63e0027f3eb9ff17fd0b6a4a528d91e9e820f (diff)
downloadkernel_samsung_smdk4412-2c77bb37171f8d07402f13a94390c8a20c985f50.zip
kernel_samsung_smdk4412-2c77bb37171f8d07402f13a94390c8a20c985f50.tar.gz
kernel_samsung_smdk4412-2c77bb37171f8d07402f13a94390c8a20c985f50.tar.bz2
s390/cio: fix pgid reserved check
commit d99e79ec5574fc556c988f613ed6175f6de66f4a upstream. The check to whom a device is reserved is done by checking the path state of the affected channel paths. If it turns out that one path is flagged as reserved by someone else the whole device is marked as such. However the meaning of the RESVD_ELSE bit is that the addressed device is reserved to a different pathgroup (and not reserved to a different LPAR). If we do this test on a path which is currently not a member of the pathgroup we could erroneously mark the device as reserved to someone else. To fix this collect the reserved state for all potential members of the pathgroup and only mark the device as reserved if all of those potential members have the RESVD_ELSE bit set. Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions