git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d96b143
)
f2fs: introduce F2FS_INODE macro to get f2fs_inode
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Thu, 26 Dec 2013 07:30:41 +0000
(16:30 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Thu, 26 Dec 2013 11:32:48 +0000
(20:32 +0900)
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>
No differences found