VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Hellwig <hch@lst.de> 2009-06-08 10:08:54 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2009-06-11 21:36:17 -0400 commit: 0c95ee190e1dea60c55c834d14695341085c9b7b parent: d731e06323cb705003e4172ec209e469be4c18e1
Commit Summary:
remove the call to ->write_super in __sync_filesystem
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/sync.c b/fs/sync.c
index e9d56f6c0b74..dd200025af85 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -33,8 +33,6 @@ static int __sync_filesystem(struct super_block *sb, int wait)
 	else
 		sync_quota_sb(sb, -1);
 	sync_inodes_sb(sb, wait);
-	if (sb->s_dirt && sb->s_op->write_super)
-		sb->s_op->write_super(sb);
 	if (sb->s_op->sync_fs)
 		sb->s_op->sync_fs(sb, wait);
 	return __sync_blockdev(sb->s_bdev, wait);