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)
commit09fada5b5f1f56502bb14f36a69a2c31cea262be
treeb7c9e5bf2837d7758c61c1c446b58e7028310b30
parent32aecdd36528449cec34e6e63dcd5f0221ca7b43
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