diff options
author | Changman Lee <cm224.lee@samsung.com> | 2013-02-01 04:05:09 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-02-11 17:15:01 -0500 |
commit | 94787d91cba7ba168b028703b50a0224702ace9c (patch) | |
tree | 6cfe1b9d83680a81effa6f702b8f90c28c4ffad5 /fs/f2fs | |
parent | 14d7e9de0500e9110e5820e2e77d096fc1bab724 (diff) |
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/checkpoint.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index d3b34d05211f..2887c196b0a2 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c | |||
@@ -164,7 +164,6 @@ static int f2fs_set_meta_page_dirty(struct page *page) | |||
164 | if (!PageDirty(page)) { | 164 | if (!PageDirty(page)) { |
165 | __set_page_dirty_nobuffers(page); | 165 | __set_page_dirty_nobuffers(page); |
166 | inc_page_count(sbi, F2FS_DIRTY_META); | 166 | inc_page_count(sbi, F2FS_DIRTY_META); |
167 | F2FS_SET_SB_DIRT(sbi); | ||
168 | return 1; | 167 | return 1; |
169 | } | 168 | } |
170 | return 0; | 169 | return 0; |