Bandan Das 298ac63c44 usb-mtp: fix some usb_mtp_write_data return paths
During a write, free up the "path" before getting more data.
Also, while we at it, remove the confusing usage of d->fd for
storing mkdir status

Spotted by Coverity: CID 1398642

Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20190306210409.14842-3-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-03-07 10:02:48 +01:00
..
2018-06-01 19:20:38 +03:00
2016-02-23 12:43:05 +00:00
2017-05-29 14:03:35 +02:00
2013-02-19 12:30:05 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00