Skip to content
Commit 40a19260 authored by Al Viro's avatar Al Viro
Browse files

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: default avatar <syzbot+47dd250f527cb7bebf24@syzkaller.appspotmail.com>
Fixes: 6319194e ("Unify the primitives for file descriptor closing")
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6319194e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment