Commit 40a1926
Al Viro
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: 6319194 ("Unify the primitives for file descriptor closing")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 6319194 commit 40a1926
3 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1857 | 1857 | | |
1858 | 1858 | | |
1859 | 1859 | | |
| 1860 | + | |
| 1861 | + | |
1860 | 1862 | | |
1861 | 1863 | | |
1862 | 1864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
804 | | - | |
| 803 | + | |
805 | 804 | | |
806 | 805 | | |
807 | 806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5110 | 5110 | | |
5111 | 5111 | | |
5112 | 5112 | | |
5113 | | - | |
| 5113 | + | |
5114 | 5114 | | |
5115 | 5115 | | |
5116 | 5116 | | |
| |||
5127 | 5127 | | |
5128 | 5128 | | |
5129 | 5129 | | |
5130 | | - | |
5131 | 5130 | | |
5132 | 5131 | | |
5133 | 5132 | | |
| |||
5147 | 5146 | | |
5148 | 5147 | | |
5149 | 5148 | | |
5150 | | - | |
5151 | | - | |
5152 | 5149 | | |
5153 | 5150 | | |
5154 | 5151 | | |
| |||
0 commit comments