diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-01-20 11:37:04 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-01-22 10:41:07 +0100 |
commit | 9df27d982d58b9372bc476fb6b9bab861d617029 (patch) | |
tree | 3bd776a200082f1b24bfc98fd6c6478c653a4bd5 /fs/f2fs/node.c | |
parent | f2fs: move a branch for code redability (diff) | |
download | linux-9df27d982d58b9372bc476fb6b9bab861d617029.tar.xz linux-9df27d982d58b9372bc476fb6b9bab861d617029.zip |
f2fs: add help function META_MAPPING
Introduce help function META_MAPPING() to get the cache meta blocks'
address space.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 226a05a27e33..527bd12d8ae1 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -87,7 +87,7 @@ static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) */ static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid) { - struct address_space *mapping = sbi->meta_inode->i_mapping; + struct address_space *mapping = META_MAPPING(sbi); struct f2fs_nm_info *nm_i = NM_I(sbi); struct page *page; pgoff_t index; |