diff options
author | Changman Lee <cm224.lee@samsung.com> | 2013-02-01 10:05:09 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-02-11 23:15:01 +0100 |
commit | 94787d91cba7ba168b028703b50a0224702ace9c (patch) | |
tree | 6cfe1b9d83680a81effa6f702b8f90c28c4ffad5 /fs/f2fs/checkpoint.c | |
parent | f2fs: when check superblock failed, try to check another superblock (diff) | |
download | linux-94787d91cba7ba168b028703b50a0224702ace9c.tar.xz linux-94787d91cba7ba168b028703b50a0224702ace9c.zip |
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/checkpoint.c')
-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) if (!PageDirty(page)) { __set_page_dirty_nobuffers(page); inc_page_count(sbi, F2FS_DIRTY_META); - F2FS_SET_SB_DIRT(sbi); return 1; } return 0; |