Commit edfc4c8
cgroup: Drop sock_cgroup_classid() dummy implementation
The semantic of returning 0 is unclear when !CONFIG_CGROUP_NET_CLASSID.
Since there are no callers of sock_cgroup_classid() with that config
anymore we can undefine the helper at all and enforce all (future)
callers to handle cases when !CONFIG_CGROUP_NET_CLASSID.
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Link: https://lore.kernel.org/r/Z_52r_v9-3JUzDT7@calendula/
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent 2043ae9 commit edfc4c8
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
| 901 | + | |
901 | 902 | | |
902 | 903 | | |
903 | | - | |
904 | 904 | | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | 905 | | |
| 906 | + | |
909 | 907 | | |
910 | 908 | | |
911 | 909 | | |
| |||
915 | 913 | | |
916 | 914 | | |
917 | 915 | | |
| 916 | + | |
918 | 917 | | |
919 | 918 | | |
920 | 919 | | |
921 | | - | |
922 | 920 | | |
923 | | - | |
924 | 921 | | |
| 922 | + | |
925 | 923 | | |
926 | 924 | | |
927 | 925 | | |
| |||
0 commit comments