Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net, cgroup: cgroup_sk_updat_lock was missing initializer
bd1060a ("sock, cgroup: add sock->sk_cgroup") added global spinlock cgroup_sk_update_lock but erroneously skipped initializer leading to uninitialized spinlock warning. Fix it by using DEFINE_SPINLOCK(). Signed-off-by: Tejun Heo <[email protected]> Reported-by: Dexuan Cui <[email protected]> Fixes: bd1060a ("sock, cgroup: add sock->sk_cgroup") Signed-off-by: David S. Miller <[email protected]>
- Loading branch information