diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-02 15:31:18 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-03 17:37:13 -0700 |
commit | 4081363fbe84a7ebac6d3339dd2775df45d856d0 (patch) | |
tree | 1484b33d753ff03255077b77c3d8f1c45c67e6af /fs/f2fs/recovery.c | |
parent | 70c8038dd698b44daf7c8fc7e2eca142bec694c4 (diff) |
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>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r-- | fs/f2fs/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 756c41cd2582..5c095f7ac21c 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -75,7 +75,7 @@ retry: err = -EEXIST; goto out_unmap_put; } - err = acquire_orphan_inode(F2FS_SB(inode->i_sb)); + err = acquire_orphan_inode(F2FS_I_SB(inode)); if (err) { iput(einode); goto out_unmap_put; |