]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: usbip: userspace: suppress a bogus error
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Fri, 7 Dec 2012 21:49:44 +0000 (16:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 20:38:54 +0000 (12:38 -0800)
commit82692d202a199553a92d3c72cdd8959b497b9b62
tree20bd33dcd559c6ac2dc5d7d63c26646545c01c73
parent107fefd4dd56748878f1ffc44c321c29f6180748
staging: usbip: userspace: suppress a bogus error

If mkdir() of VHCI_STATE_PATH fails because the directory
already exists, that's not an error. This patch fixes
annoying "record connection" errors that would typically
come up on attach.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Acked-by: David Chang <dchang@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/src/usbip_attach.c