projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1cda48
)
[PATCH] reiserfs: use balance_dirty_pages_ratelimited_nr in reiserfs_file_write()
author
Alexander Zarochentsev
<zam@namesys.com>
Sat, 25 Mar 2006 11:07:16 +0000
(
03:07
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:53 +0000
(08:22 -0800)
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>
fs/reiserfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/reiserfs/file.c
b/fs/reiserfs/file.c
index 044de8be39a7f9875f1a77c2ea952332ec576d45..d0c1e865963eac20acc606cc8f26089f20ad2ac1 100644
(file)
--- a/
fs/reiserfs/file.c
+++ b/
fs/reiserfs/file.c
@@
-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 */