staging: usbip: userspace: Check return value for mkdir()
authorTobias Klauser <tklauser@distanz.ch>
Fri, 19 Aug 2011 06:54:18 +0000 (08:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:42:33 +0000 (14:42 -0700)
commit549fb1009755a6ca3cef30914b8c3529ca711947
treef80a4599ff5b84d1593a6d5da80f0072dfb5750e
parent97c451ca1094d9d1ed1f3bf7c7a8b65b783e37e0
staging: usbip: userspace: Check return value for mkdir()

mkdir() could fail, so we should check its return value.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/userspace/src/usbip_attach.c