summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorSudip Mukherjee2015-06-12 11:50:20 +0200
committerGreg Kroah-Hartman2015-06-13 01:58:33 +0200
commit50566ac87065b9ade71aef5e69d23e06a0664db9 (patch)
treedd3adf294fc1eff1fcbbeee93e4a65e68ea03f39 /drivers/hv/channel.c
parentw1: use correct lock on error in w1_seq_show() (diff)
downloadkernel-qcow2-linux-50566ac87065b9ade71aef5e69d23e06a0664db9.tar.gz
kernel-qcow2-linux-50566ac87065b9ade71aef5e69d23e06a0664db9.tar.xz
kernel-qcow2-linux-50566ac87065b9ade71aef5e69d23e06a0664db9.zip
parport: check exclusive access before register
As of now we were starting the registration process and after the device is registered we were checking if the device can be used by the parport. Now lets check it first so that we do not need to go through the registration process only to fail at the end. The original exclusive access check at the end is still there so that we do not get any surprises if two different process registers its device with same parport and with exclusive access at the same time. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
0 files changed, 0 insertions, 0 deletions