aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRob Jones <[email protected]>2014-10-09 15:25:07 -0700
committerLinus Torvalds <[email protected]>2014-10-09 22:25:47 -0400
commitf32883384846e1d4aa941c60dd8adb44093359c6 (patch)
tree26d4ee3341ea74efff74ed209dc4bf067c564e31 /tools/perf/scripts/python
parent8f9ac032322b855ff9f578efcb5de891dcf85e9b (diff)
fs/ocfs2/cluster/netdebug.c: use seq_open_private() not seq_open()
Reduce boilerplate code by using seq_open_private() instead of seq_open() Note that the code in and using sc_common_open() has been quite extensively changed. Not least because there was a latent memory leak in the code as was: if sc_common_open() failed, the previously allocated buffer was not freed. Signed-off-by: Rob Jones <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions