diff options
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index ed2c22340ad7..4f4cd132b571 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -176,7 +176,7 @@ static int hugetlbfs_commit_write(struct file *file, | |||
176 | 176 | ||
177 | static void truncate_huge_page(struct page *page) | 177 | static void truncate_huge_page(struct page *page) |
178 | { | 178 | { |
179 | clear_page_dirty(page); | 179 | cancel_dirty_page(page, /* No IO accounting for huge pages? */0); |
180 | ClearPageUptodate(page); | 180 | ClearPageUptodate(page); |
181 | remove_from_page_cache(page); | 181 | remove_from_page_cache(page); |
182 | put_page(page); | 182 | put_page(page); |