diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 17:02:01 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-29 17:24:20 (GMT) |
commit | 32aecdd36528449cec34e6e63dcd5f0221ca7b43 (patch) | |
tree | 2643f5ab53f1e1e934cef578e6f6b4cf1e0ca048 /drivers/staging/gdm72xx/usb_boot.c | |
parent | e4fad8e5d220e3dfb1050eee752ee5058f29a232 (diff) | |
download | linux-32aecdd36528449cec34e6e63dcd5f0221ca7b43.tar.xz |
slightly reduce idiocy in drivers/staging/bcm/Misc.c
a) vfs_llseek() does *not* access userland pointers of any kind
b) neither does filp_close(), for that matter
c) ... nor filp_open()
d) vfs_read() does, but we do have a wrapper for that (kernel_read()),
so there's no need to reinvent it.
e) passing current->files to filp_close() on something that never
had been in descriptor table is pointless.
ISAGN: voodoo dolls to be used on voodoo programmers...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/gdm72xx/usb_boot.c')
0 files changed, 0 insertions, 0 deletions