usb: usbip: userspace: remove the port state file when detaching port.
authorHarvey Yang <harvey.huawei.yang@gmail.com>
Thu, 15 Nov 2012 08:32:49 +0000 (16:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:47:29 +0000 (17:47 -0800)
commita6bb87522f42aea056585282a70de7512d297323
tree11464351f16ccd7e123818f62899add09d176c62
parent2a38e6fcf9173ffa8acf827c0b5d69863e012434
usb: usbip: userspace: remove the port state file when detaching port.

with the last detached port state file remaining, usbip reports error on
attaching. So clean up the state files on detaching.

Signed-off-by: Harvey Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/src/usbip_detach.c