]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vfs: cleanup do_vfs_ioctl()
authorNamhyung Kim <namhyung@gmail.com>
Sun, 16 Jan 2011 15:48:17 +0000 (00:48 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Mar 2011 04:16:08 +0000 (00:16 -0400)
commit27a4f7e61e1eb4f18737926f4a66db7c48349fea
treed2c680038e2b1a3b56b26a4861db0bc0e25cef01
parenta44f99c7efdb88fa41128065c9a9445c19894e34
vfs: cleanup do_vfs_ioctl()

Move declaration of 'inode' to beginning of the function. Since it
is referenced directly or indirectly (in case of FIFREEZE/FITHAW/
FS_IOC_FIEMAP) it's not harmful IMHO. And remove unnecessary casts
using 'argp' instead.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ioctl.c