diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-12 15:53:45 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-16 04:10:39 -0700 |
commit | a7ffdbe22cecaed59b5d76a5f003d68907d64240 (patch) | |
tree | 455b985cab6761423687153ca36aae86058a2fa8 /fs/f2fs/dir.c | |
parent | 2403c155b83c09d8b6255237ef049f2650f9fe01 (diff) | |
download | blackbird-obmc-linux-a7ffdbe22cecaed59b5d76a5f003d68907d64240.tar.gz blackbird-obmc-linux-a7ffdbe22cecaed59b5d76a5f003d68907d64240.zip |
f2fs: expand counting dirty pages in the inode page cache
Previously f2fs only counts dirty dentry pages, but there is no reason not to
expand the scope.
This patch changes the names on the management of dirty pages and to count
dirty pages in each inode info as well.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index f1ceeb2f898e..b54f87149c09 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -618,7 +618,7 @@ void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page, truncate_hole(dir, page->index, page->index + 1); clear_page_dirty_for_io(page); ClearPageUptodate(page); - inode_dec_dirty_dents(dir); + inode_dec_dirty_pages(dir); } f2fs_put_page(page, 1); } |