summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-11-06 23:39:50 +0300
committerJ. Bruce Fields <bfields@redhat.com>2020-11-06 23:56:18 +0300
commitd435c05ab0197ee302290e1cee3f2d9c9024a64f (patch)
tree73f3f92c1aaaf5be72d4083299f584eafdf69b5a /mm/vmscan.c
parent49a361327332c9221438397059067f9b205f690d (diff)
downloadlinux-d435c05ab0197ee302290e1cee3f2d9c9024a64f.tar.xz
net/sunrpc: return 0 on attempt to write to "transports"
You can't write to this file because the permissions are 0444. But it sort of looked like you could do a write and it would result in a read. Then it looked like proc_sys_call_handler() just ignored it. Which is confusing. It's more clear if the "write" just returns zero. Also, the "lenp" pointer is never NULL so that check can be removed. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions