f2fs: introduce F2FS_I_SB, F2FS_M_SB, and F2FS_P_SB
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Sep 2014 22:31:18 +0000 (15:31 -0700)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:04:12 +0000 (18:04 +0800)
commit7644e1baf93c3efdb60be12b0022114657c181eb
tree124bd1cb4d0a30c6727f316c7ee25357fbc5557c
parentfcfbc9a64d97b68b21c3053d3e2029ab8ef86100
f2fs: introduce F2FS_I_SB, F2FS_M_SB, and F2FS_P_SB

This patch adds three inline functions to clean up dirty casting codes.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

Conflicts:
fs/f2fs/namei.c
fs/f2fs/node.c

Change-Id: Ib721e70032fdd48c32fcb4c09795ce6a38eb3b14
14 files changed:
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/xattr.c