From: Jaegeuk Kim Date: Thu, 26 Dec 2013 07:30:41 +0000 (+0900) Subject: f2fs: introduce F2FS_INODE macro to get f2fs_inode X-Git-Tag: v3.14-rc1~122^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58bfaf44df58082c72882b235cae611c975537d4;p=pandora-kernel.git 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 Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed