From: Al Viro Date: Sun, 22 Jul 2012 17:02:01 +0000 (+0400) Subject: slightly reduce idiocy in drivers/staging/bcm/Misc.c X-Git-Tag: v3.6-rc1~18^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32aecdd36528449cec34e6e63dcd5f0221ca7b43;p=pandora-kernel.git 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 --- Reading git-diff-tree failed