commit | 58bfaf44df58082c72882b235cae611c975537d4 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Dec 26 16:30:41 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Dec 26 20:32:48 2013 +0900 |
tree | ab4a56b2e152ccedab7cdfca92c536a1eb1ddec9 | |
parent | d96b143151a11820ee3eee552554209f2453799e [diff] |
f2fs: introduce F2FS_INODE macro to get f2fs_inode This patch introduces F2FS_INODE that returns struct f2fs_inode * from the inode page. By using this macro, we can remove unnecessary casting codes like below. struct f2fs_inode *ri = &F2FS_NODE(inode_page)->i; -> struct f2fs_inode *ri = F2FS_INODE(inode_page); Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>