switch alloc_file() to passing struct path
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Aug 2009 20:52:35 +0000 (00:52 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:42 +0000 (12:16 -0500)
commit2c48b9c45579a9b5e3e74694eebf3d2451f3dbd3
treececbf786ae0650368a8136bdd90910e05d9b95c3
parenta95161aaa801c18c52b2e7cf3d6b4b141c00a20a
switch alloc_file() to passing struct path

... and have the caller grab both mnt and dentry; kill
leak in infiniband, while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/perfmon.c
drivers/infiniband/core/uverbs_main.c
fs/anon_inodes.c
fs/file_table.c
fs/hugetlbfs/inode.c
fs/notify/inotify/inotify_user.c
fs/pipe.c
include/linux/file.h
ipc/shm.c
mm/shmem.c
net/socket.c