diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-26 16:30:41 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-26 20:32:48 +0900 |
commit | 58bfaf44df58082c72882b235cae611c975537d4 (patch) | |
tree | ab4a56b2e152ccedab7cdfca92c536a1eb1ddec9 /drivers/clocksource | |
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>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions