Skip to contentSkip to conversation

vfs: change ->writeback_inodes() signature

PATCH New Edward Shishkin 1 participant 1 message Jul 7, 2010 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 vfs: change ->writeback_inodes() signature

Change signature of ->writeback_inodes() of super_operations in accordance with the signature of writeback_sb_inodes().

---
 fs/fs-writeback.c  |    2 +-
 include/linux/fs.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
fs/fs-writeback.c +1 -1
@@ -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);
 }
 
include/linux/fs.h +2 -2
@@ -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