summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorQiuyang Sun <sunqiuyang@huawei.com>2017-08-09 17:27:30 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-09-21 14:14:54 -0700
commit99dae6bc11ad5687760004133f26ad3e14d86a74 (patch)
tree5fc4388e0e177c5cd43df43cbedc31f06b79ae65 /tools/perf/scripts/python/Perf-Trace-Util
parent9e6ece8a411241dd247f1c8afa0ca5860d1ba1d7 (diff)
f2fs: merge equivalent flags F2FS_GET_BLOCK_[READ|DIO]
Currently, the two flags F2FS_GET_BLOCK_[READ|DIO] are totally equivalent and can be used interchangably in all scenarios they are involved in. Neither of the flags is referenced in f2fs_map_blocks(), making them both the default case. To remove the ambiguity, this patch merges both flags into F2FS_GET_BLOCK_DEFAULT, and introduces an enum for all distinct flags. Signed-off-by: Qiuyang Sun <sunqiuyang@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions