diff options
author | 2015-10-12 18:09:09 -0700 | |
---|---|---|
committer | 2015-10-17 22:09:03 -0700 | |
commit | b97f679954b7771183f3c0a6a47b17e185e64a8a (patch) | |
tree | 0b91b510adba6a9c2016e603ea1fb624164a3eac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "mm: Check if section present during memory block (un)registering" (diff) | |
download | wireguard-linux-b97f679954b7771183f3c0a6a47b17e185e64a8a.tar.xz wireguard-linux-b97f679954b7771183f3c0a6a47b17e185e64a8a.zip |
debugfs: Consolidate file mode checks in debugfs_create_*()
The code that creates debugfs file with different file ops based
on the file mode is duplicated in each debugfs_create_*() API.
Consolidate that code into debugfs_create_mode(), that takes
three file ops structures so that we don't have to keep
copy/pasting that logic.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions