aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorQiuyang Sun <[email protected]>2017-08-09 17:27:30 +0800
committerJaegeuk Kim <[email protected]>2017-08-21 15:55:02 -0700
commitf2220c7f155c99392b307be3012aae976a503afe (patch)
tree4f04c472de95dbf4ccaebf49a7ef76831f981717 /tools/lib/api/debug.c
parent4b2414d04e99120ce852ba15a1926c9c3a77d9ce (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 <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions