Commit eceb7b3
bpf: more trivial fdget() conversions
All failure exits prior to fdget() leave the scope, all matching fdput()
are immediately followed by leaving the scope.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>1 parent eb80ee8 commit eceb7b3
1 file changed
Lines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4901 | 4901 | | |
4902 | 4902 | | |
4903 | 4903 | | |
4904 | | - | |
4905 | | - | |
4906 | | - | |
4907 | | - | |
4908 | 4904 | | |
4909 | 4905 | | |
4910 | 4906 | | |
4911 | | - | |
4912 | | - | |
| 4907 | + | |
| 4908 | + | |
4913 | 4909 | | |
4914 | 4910 | | |
4915 | 4911 | | |
4916 | | - | |
| 4912 | + | |
4917 | 4913 | | |
4918 | 4914 | | |
4919 | | - | |
| 4915 | + | |
4920 | 4916 | | |
4921 | 4917 | | |
4922 | | - | |
| 4918 | + | |
4923 | 4919 | | |
4924 | | - | |
| 4920 | + | |
4925 | 4921 | | |
4926 | | - | |
4927 | | - | |
4928 | | - | |
4929 | | - | |
4930 | | - | |
| 4922 | + | |
4931 | 4923 | | |
4932 | 4924 | | |
4933 | 4925 | | |
| |||
0 commit comments