f2fs: Replace expression with offsetof()
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 22 Dec 2020 13:34:15 +0000 (21:34 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 27 Jan 2021 23:20:00 +0000 (15:20 -0800)
commit36218b81f094648d929994399eb6eb5c97b991e5
treebf520c4d5df6ddb7fb9bb1d7bd33116ad78729ea
parent632faca72938f9f63049e48a8c438913828ac7a9
f2fs: Replace expression with offsetof()

Use the existing offsetof() macro instead of duplicating code.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c