]> git.baikalelectronics.ru Git - kernel.git/commit
slightly reduce lossage in gdm72xx
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 17:09:14 +0000 (21:09 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jul 2012 17:24:20 +0000 (21:24 +0400)
commit5b2cacf4ac56e2565433cbae57d5fe908eb5cea7
treeb7c9e5bf2837d7758c61c1c446b58e7028310b30
parent3e837ba87c4be9f1c2b83505a9fcc368f8dac15e
slightly reduce lossage in gdm72xx

* filp_close() needs non-NULL second argument only if it'd been in descriptor
table
* opened files have non-NULL dentries, TYVM
* ... and those dentries are positive - it's kinda hard to open a file that
doesn't exist.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/gdm72xx/sdio_boot.c
drivers/staging/gdm72xx/usb_boot.c