]> git.baikalelectronics.ru Git - kernel.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)
commit78585797c4a1f18a5b8562d5de62799e0d6d303b
tree20bd33dcd559c6ac2dc5d7d63c26646545c01c73
parenta58fcc9fc1a3f487090e6aaa9eaab78adeb07a4d
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