summaryrefslogtreecommitdiffstats
path: root/fs/ufs
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-11-04 16:32:25 -0400
committerMike Marshall <hubcap@omnibond.com>2016-11-07 10:41:55 -0500
commitdc0336214eb07ee9de2a41dd4c81c744ffa419ac (patch)
tree56c9ca467f36588615993f2b163c29bc64109568 /fs/ufs
parent804b1737d71253f01621d2a37a0dce6279a2d440 (diff)
downloadlinux-dc0336214eb07ee9de2a41dd4c81c744ffa419ac.tar.gz
linux-dc0336214eb07ee9de2a41dd4c81c744ffa419ac.tar.bz2
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 'fs/ufs')
0 files changed, 0 insertions, 0 deletions