fix the breakage in close_fd_get_file() calling conventions change
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 Jun 2022 18:01:42 +0000 (14:01 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 Jun 2022 19:03:03 +0000 (15:03 -0400)
commit40a1926022d128057376d35167128a7c74e3dca4
treeb58c10d4ef49365fece9ccd5e49974ce8e03d747
parent6319194ec57b0452dcda4589d24c4e7db299c5bf
fix the breakage in close_fd_get_file() calling conventions change

It used to grab an extra reference to struct file rather than
just transferring to caller the one it had removed from descriptor
table.  New variant doesn't, and callers need to be adjusted.

Reported-and-tested-by: syzbot+47dd250f527cb7bebf24@syzkaller.appspotmail.com
Fixes: 6319194ec57b ("Unify the primitives for file descriptor closing")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/android/binder.c
fs/file.c
fs/io_uring.c