aboutsummaryrefslogtreecommitdiff
path: root/include/trace/events
diff options
context:
space:
mode:
authorQiuyang Sun <sunqiuyang@huawei.com>2017-08-09 17:27:30 +0800
committerMister Oyster <oysterized@gmail.com>2017-10-04 15:33:36 +0200
commitaa9134909b8bfcee7332b09107103ea23c3899d3 (patch)
tree89159a81fc5846fdcf488fba809bbf927ec9bd1d /include/trace/events
parent51bf5853e012152eea41342499ed03655714421c (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 'include/trace/events')
0 files changed, 0 insertions, 0 deletions