diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-02-14 17:44:10 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-19 11:41:25 -0700 |
commit | a2ced1ce1087a19361b7845c85a2d910fc591344 (patch) | |
tree | d0b4b85bcb7532a2f50ec331ce4f6a98706afcb6 /fs/f2fs/gc.c | |
parent | a7e679b53393c76d4427f4085ec9d114f06cac5a (diff) | |
download | lwn-a2ced1ce1087a19361b7845c85a2d910fc591344.tar.gz lwn-a2ced1ce1087a19361b7845c85a2d910fc591344.zip |
f2fs: clean up codes with {f2fs_,}data_blkaddr()
- rename datablock_addr() to data_blkaddr().
- wrap data_blkaddr() with f2fs_data_blkaddr() to clean up
parameters.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r-- | fs/f2fs/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 608d04950f05..3fdc3d6a874c 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -637,7 +637,7 @@ static bool is_alive(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, } *nofs = ofs_of_node(node_page); - source_blkaddr = datablock_addr(NULL, node_page, ofs_in_node); + source_blkaddr = data_blkaddr(NULL, node_page, ofs_in_node); f2fs_put_page(node_page, 1); if (source_blkaddr != blkaddr) { |