diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-12-15 17:19:26 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-12-16 08:58:06 -0800 |
commit | e8240f656d4d5d718ce8cf6b4ea266d6719ef547 (patch) | |
tree | 549a1fef4054135862d7ee7dd26ef74af0f173f7 /fs/f2fs/f2fs.h | |
parent | b39f0de23d8f22253d441b3b68414e9a1d027cf6 (diff) | |
download | linux-e8240f656d4d5d718ce8cf6b4ea266d6719ef547.tar.bz2 |
f2fs: don't grab super block buffer header all the time
We have already got one copy of valid super block in memory, do not grab
buffer header of super block all the time.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 21048edb72cb..37cf04b3ff37 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -715,8 +715,8 @@ enum { struct f2fs_sb_info { struct super_block *sb; /* pointer to VFS super block */ struct proc_dir_entry *s_proc; /* proc entry */ - struct buffer_head *raw_super_buf; /* buffer head of raw sb */ struct f2fs_super_block *raw_super; /* raw super block pointer */ + int valid_super_block; /* valid super block no */ int s_flag; /* flags for sbi */ /* for node-related operations */ |