From: Edward Shishkin <edward.shishkin@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>,
ReiserFS Development List <reiserfs-devel@vger.kernel.org>
Subject: [patch 2/6] vfs: change ->writeback_inodes() signature
Date: Wed, 07 Jul 2010 02:21:07 +0200 [thread overview]
Message-ID: <4C33C873.1030801@gmail.com> (raw)
[-- 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
reply other threads:[~2010-07-07 0:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C33C873.1030801@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.