Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernfs,memcg: access state flags via CSS_ONLINE
The CSS_DYING flag was only introduced in 33c35aa481786 ("cgroup: Prevent kill_css() from being called more than once"), which was introduced in v4.12, but present in some backports. Since we only need to refer to this constant in order to get the enum type, use CSS_ONLINE, which has been present since v3.8. Fixes: 30e57f6 ("kernfs,memcg: Add helpers to get memcg info") Signed-off-by: Stephen Brennan <[email protected]>
- Loading branch information