mm: shrinkers: fix debugfs file permissions
authorJohn Keeping <john@metanate.com>
Tue, 18 Apr 2023 10:19:05 +0000 (11:19 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Apr 2023 21:52:03 +0000 (14:52 -0700)
commit2124f79de6a909630d1a62b01ecc32db9f967181
treea2aeba729af2fdd2b2539addc07a56ab50ecf2ae
parentf3ebdf042df4e08bab1d5f8bf1c4b959d8741c10
mm: shrinkers: fix debugfs file permissions

The permissions for the files here are swapped as "count" is read-only and
"scan" is write-only.  While this doesn't really matter as these
permissions don't stop the files being opened for reading/writing as
appropriate, they are shown by "ls -l" and are confusing.

Link: https://lkml.kernel.org/r/20230418101906.3131303-1-john@metanate.com
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shrinker_debug.c