VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> 2012-07-12 17:28:46 +0300 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-07-22 23:58:07 +0400 commit: a3742d4828caeffab4cb075b562a4ed92d3e74d6 parent: b59352359d6555aa8537d74ac9b15c1c6bcf3c68
Commit Summary:
hfs: remove extra mdb write on unmount
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index f7c06bbf33bc..47e4119a0650 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -74,8 +74,6 @@ static int hfs_sync_fs(struct super_block *sb, int wait)
  */
 static void hfs_put_super(struct super_block *sb)
 {
-	if (sb->s_dirt)
-		hfs_write_super(sb);
 	hfs_mdb_close(sb);
 	/* release the MDB's resources */
 	hfs_mdb_put(sb);