Repository navigation
Commit a903f08
cpuset: fix the return value of cpuset_write_u64()
Writing to this file always returns -ENODEV:
# echo 1 > cpuset.memory_pressure_enabled
-bash: echo: write error: No such device
Signed-off-by: Li Zefan <lizefan@huawei.com>
Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent da0a12c commit a903f08
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | | - | |
| 1611 | + | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | | - | |
| 1614 | + | |
| 1615 | + | |
1615 | 1616 | | |
| 1617 | + | |
1616 | 1618 | | |
1617 | 1619 | | |
1618 | 1620 | | |
| |||
0 commit comments