mirror of https://gitee.com/openkylin/linux.git
f2fs: remove repeated F2FS_SET_SB_DIRT call
F2FS_SET_SB_DIRT is called in inc_page_count and it is directly called one more time in the next line. Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
parent
14d7e9de05
commit
94787d91cb
|
@ -164,7 +164,6 @@ static int f2fs_set_meta_page_dirty(struct page *page)
|
|||
if (!PageDirty(page)) {
|
||||
__set_page_dirty_nobuffers(page);
|
||||
inc_page_count(sbi, F2FS_DIRTY_META);
|
||||
F2FS_SET_SB_DIRT(sbi);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue