* [patch 2/6] vfs: change ->writeback_inodes() signature
@ 2010-07-07 0:21 Edward Shishkin
0 siblings, 0 replies; only message in thread
From: Edward Shishkin @ 2010-07-07 0:21 UTC (permalink / raw)
To: Andrew Morton, ReiserFS Development List
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: writeback_inodes-change-signature.patch --]
[-- Type: text/plain, Size: 1146 bytes --]
Change signature of ->writeback_inodes() of super_operations
in accordance with the signature of writeback_sb_inodes().
Signed-off-by: Edward Shishkin <edward.shishkin@gmail.com>
---
fs/fs-writeback.c | 2 +-
include/linux/fs.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--- mmotm.orig/fs/fs-writeback.c
+++ mmotm/fs/fs-writeback.c
@@ -556,7 +556,7 @@ static int do_writeback_sb_inodes(struct
bool only_this_sb)
{
if (sb->s_op->writeback_inodes)
- return sb->s_op->writeback_inodes(sb, wb, wbc);
+ return sb->s_op->writeback_inodes(sb, wb, wbc, only_this_sb);
return generic_writeback_sb_inodes(sb, wb, wbc, only_this_sb);
}
--- mmotm.orig/include/linux/fs.h
+++ mmotm/include/linux/fs.h
@@ -1577,8 +1577,8 @@ struct super_operations {
void (*umount_begin) (struct super_block *);
int (*writeback_inodes)(struct super_block *sb,
struct bdi_writeback *wb,
- struct writeback_control *wbc);
-
+ struct writeback_control *wbc,
+ bool only_this_sb);
int (*show_options)(struct seq_file *, struct vfsmount *);
int (*show_stats)(struct seq_file *, struct vfsmount *);
#ifdef CONFIG_QUOTA
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-07 0:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 0:21 [patch 2/6] vfs: change ->writeback_inodes() signature Edward Shishkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).