aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2017-08-24 12:04:29 -0400
committerTejun Heo <[email protected]>2017-08-24 09:42:28 -0700
commit1c08c22c874ac88799cab1f78c40f46110274915 (patch)
tree47063173ff468e26f39a3e8ebe14fc0adcca3994 /lib/netdev-notifier-error-inject.c
parent3c74541777302eec43a0d1327c4d58b8659a776b (diff)
cpuset: Fix incorrect memory_pressure control file mapping
The memory_pressure control file was incorrectly set up without a private value (0, by default). As a result, this control file was treated like memory_migrate on read. By adding back the FILE_MEMORY_PRESSURE private value, the correct memory pressure value will be returned. Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Fixes: 7dbdb199d3bf ("cgroup: replace cftype->mode with CFTYPE_WORLD_WRITABLE") Cc: [email protected] # v4.4+
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions