Skip to content

Commit

Permalink
[PATCH] reiserfs: use balance_dirty_pages_ratelimited_nr in reiserfs_…
Browse files Browse the repository at this point in the history
…file_write()

Use the new balance_dirty_pages_ratelimited_nr in reiserfs "largeio" file
write.

Signed-off-by: Hans Reiser <reiser@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Alexander Zarochentsev authored and Linus Torvalds committed Mar 25, 2006
1 parent c1cda48 commit 5930860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/reiserfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ static ssize_t reiserfs_file_write(struct file *file, /* the file we are going t
buf += write_bytes;
*ppos = pos += write_bytes;
count -= write_bytes;
balance_dirty_pages_ratelimited(inode->i_mapping);
balance_dirty_pages_ratelimited_nr(inode->i_mapping, num_pages);
}

/* this is only true on error */
Expand Down

0 comments on commit 5930860

Please sign in to comment.