aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHaifeng Xu <[email protected]>2023-02-28 08:35:37 +0000
committerTejun Heo <[email protected]>2023-03-23 16:02:27 -1000
commit8e4645226b4931e96d55546a1fb3863aa50b5e62 (patch)
tree877da68bfdebaedc8fbaa79cd3c692edfef672cd /lib/test_fortify/write_overflow-strncpy-src.c
parent4cdb91b0dea7d7f59fa84a13c7753cd434fdedcf (diff)
cpuset: Clean up cpuset_node_allowed
Commit 002f290627c2 ("cpuset: use static key better and convert to new API") has used __cpuset_node_allowed() instead of cpuset_node_allowed() to check whether we can allocate on a memory node. Now this function isn't used by anyone, so we can do the follow things to clean up it. 1. remove unused codes 2. rename __cpuset_node_allowed() to cpuset_node_allowed() 3. update comments in mm/page_alloc.c Suggested-by: Waiman Long <[email protected]> Signed-off-by: Haifeng Xu <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions