summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2013-02-01 09:05:09 (GMT)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-02-11 22:15:01 (GMT)
commit94787d91cba7ba168b028703b50a0224702ace9c (patch)
tree6cfe1b9d83680a81effa6f702b8f90c28c4ffad5
parent14d7e9de0500e9110e5820e2e77d096fc1bab724 (diff)
downloadlinux-94787d91cba7ba168b028703b50a0224702ace9c.tar.xz
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>
-rw-r--r--fs/f2fs/checkpoint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index d3b34d0..2887c19 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)
if (!PageDirty(page)) {
__set_page_dirty_nobuffers(page);
inc_page_count(sbi, F2FS_DIRTY_META);
- F2FS_SET_SB_DIRT(sbi);
return 1;
}
return 0;