[merged] fs-affs-superc-destroy-sbi-mutex-in-affs_kill_sb.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: fs/affs/super.c: destroy sbi mutex in affs_kill_sb()
has been removed from the -mm tree.  Its filename was
     fs-affs-superc-destroy-sbi-mutex-in-affs_kill_sb.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Fabian Frederick <fabf@xxxxxxxxx>
Subject: fs/affs/super.c: destroy sbi mutex in affs_kill_sb()

Call mutex_destroy() on superblock mutex in affs_kill_sb() otherwise mutex
debugging code isn't able to detect that mutex is used after being freed. 
(thanks to Jan Kara for complete definition).

Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Cc: Jan Kara <jack@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/affs/super.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN fs/affs/super.c~fs-affs-superc-destroy-sbi-mutex-in-affs_kill_sb fs/affs/super.c
--- a/fs/affs/super.c~fs-affs-superc-destroy-sbi-mutex-in-affs_kill_sb
+++ a/fs/affs/super.c
@@ -602,6 +602,7 @@ static void affs_kill_sb(struct super_bl
 		affs_free_bitmap(sb);
 		affs_brelse(sbi->s_root_bh);
 		kfree(sbi->s_prefix);
+		mutex_destroy(&sbi->s_bmlock);
 		kfree(sbi);
 	}
 }
_

Patches currently in -mm which might be from fabf@xxxxxxxxx are

origin.patch
fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux