[f2fs-dev] [PATCH 1/2] f2fs: introduce F2FS_INODE macro to get f2fs_inode

2013-12-26 Thread Jaegeuk Kim
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); Signed-off-by: Jaegeuk Kim

Re: [f2fs-dev] [PATCH 1/2] f2fs: introduce F2FS_INODE macro to get f2fs_inode

2013-12-26 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Thursday, December 26, 2013 4:17 PM Cc: linux-fsde...@vger.kernel.org; linux-ker...@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net Subject: [f2fs-dev] [PATCH 1/2] f2fs: introduce F2FS_INODE