diff options
author | Mike Marshall <hubcap@omnibond.com> | 2016-11-04 21:32:25 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-11-07 16:41:55 +0100 |
commit | dc0336214eb07ee9de2a41dd4c81c744ffa419ac (patch) | |
tree | 56c9ca467f36588615993f2b163c29bc64109568 /arch/arc/include/asm/syscalls.h | |
parent | orangefs: don't use d_time (diff) | |
download | linux-dc0336214eb07ee9de2a41dd4c81c744ffa419ac.tar.xz linux-dc0336214eb07ee9de2a41dd4c81c744ffa419ac.zip |
orangefs: clean up debugfs
We recently refactored the Orangefs debugfs code.
The refactor seemed to trigger dan.carpenter@oracle.com's
static tester to find a possible double-free in the code.
While designing the fix we saw a condition under which the
buffer being freed could also be overflowed.
We also realized how to rebuild the related debugfs file's
"contents" (a string) without deleting and re-creating the file.
This fix should eliminate the possible double-free, the
potential overflow and improve code readability.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'arch/arc/include/asm/syscalls.h')
0 files changed, 0 insertions, 0 deletions