aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2018-11-08 14:01:07 +0100
committerJens Axboe <[email protected]>2018-11-08 06:30:19 -0700
commit7ccd0791d98531df7cd59e92d55e4f063d48a070 (patch)
treed2344b6dcb605bd6d0c1d1af4fb8143f374b4d8d /tools/perf/scripts
parenta2505b799a496b7b84d9a4a14ec870ff9e42e11b (diff)
loop: Push loop_ctl_mutex down into loop_clr_fd()
loop_clr_fd() has a weird locking convention that is expects loop_ctl_mutex held, releases it on success and keeps it on failure. Untangle the mess by moving locking of loop_ctl_mutex into loop_clr_fd(). Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions