]> git.baikalelectronics.ru Git - kernel.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)
commitfddd6681928fb32b1f4557adf5e60ad86fac3c7e
tree1e5281da3ca21fa0d7fdccd1d6e93277bdff5ba1
parent4bde2fbe306cd99a9b92a298e988ef5c01a3389f
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