VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Jan Kara <jack@suse.cz> 2012-07-03 16:45:27 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-07-22 23:58:18 +0400 commit: 6eedc70150d55b5885800eb6664ea226dc2cb66f parent: 9e9ad5f408889db6038a59b38ede29ff1ba9ef2f
Commit Summary:
vfs: Move noop_backing_dev_info check from sync into writeback
Diffstat:
1 file changed, 0 insertions, 7 deletions
diff --git a/fs/sync.c b/fs/sync.c
index 11e3d1c44901..b3d2a001293f 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -29,13 +29,6 @@
  */
 static int __sync_filesystem(struct super_block *sb, int wait)
 {
-	/*
-	 * This should be safe, as we require bdi backing to actually
-	 * write out data in the first place
-	 */
-	if (sb->s_bdi == &noop_backing_dev_info)
-		return 0;
-
 	if (sb->s_qcop && sb->s_qcop->quota_sync)
 		sb->s_qcop->quota_sync(sb, -1, wait);