zero i_uid/i_gid on inode allocation
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Dec 2008 14:34:39 +0000 (09:34 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 Jan 2009 16:54:28 +0000 (11:54 -0500)
commit56ff5efad96182f4d3cb3dc6b07396762c658f16
treecb91f93aa2324573527165d56d230b606a3111ed
parentacfa4380efe77e290d3a96b11cd4c9f24f4fbb18
zero i_uid/i_gid on inode allocation

... and don't bother in callers.  Don't bother with zeroing i_blocks,
while we are at it - it's already been zeroed.

i_mode is not worth the effort; it has no common default value.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
31 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
arch/s390/hypfs/inode.c
drivers/infiniband/hw/ipath/ipath_fs.c
drivers/isdn/capi/capifs.c
drivers/misc/ibmasm/ibmasmfs.c
drivers/oprofile/oprofilefs.c
drivers/usb/core/inode.c
drivers/usb/gadget/inode.c
fs/autofs/inode.c
fs/autofs4/inode.c
fs/binfmt_misc.c
fs/configfs/inode.c
fs/cramfs/inode.c
fs/debugfs/inode.c
fs/devpts/inode.c
fs/hugetlbfs/inode.c
fs/inode.c
fs/libfs.c
fs/ocfs2/dlm/dlmfs.c
fs/omfs/inode.c
fs/openpromfs/inode.c
fs/proc/base.c
fs/proc/proc_sysctl.c
fs/ramfs/inode.c
fs/romfs/inode.c
fs/sysfs/inode.c
ipc/mqueue.c
kernel/cgroup.c
net/sunrpc/rpc_pipe.c
security/inode.c
security/selinux/selinuxfs.c