]> git.karo-electronics.de Git - linux-beck.git/commit
gadgetfs: clean up
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 17:23:33 +0000 (21:23 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jul 2012 17:24:21 +0000 (21:24 +0400)
commit20818a0caa84adbfe2f1e9c0e036f5b09a9692a2
tree1e5281da3ca21fa0d7fdccd1d6e93277bdff5ba1
parent09fada5b5f1f56502bb14f36a69a2c31cea262be
gadgetfs: clean up

sigh...
* opened files have non-NULL dentries and non-NULL inodes
* close_filp() needs current->files only if the file had been
in descriptor table.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/gadget/storage_common.c
drivers/usb/gadget/u_uac1.c