summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2013-02-01 18:05:09 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-02-12 07:15:01 +0900
commit94787d91cba7ba168b028703b50a0224702ace9c (patch)
tree6cfe1b9d83680a81effa6f702b8f90c28c4ffad5 /fs/f2fs
parent14d7e9de0500e9110e5820e2e77d096fc1bab724 (diff)
downloadop-kernel-dev-94787d91cba7ba168b028703b50a0224702ace9c.zip
op-kernel-dev-94787d91cba7ba168b028703b50a0224702ace9c.tar.gz
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.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;
OpenPOWER on IntegriCloud