]> git.baikalelectronics.ru Git - kernel.git/commit
fs/affs/super.c: destroy sbi mutex in affs_kill_sb()
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:46:17 +0000 (13:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:52 +0000 (14:34 -0800)
commitf449394d89393083ac38661b3ab07616e4e1bde2
tree0d5ea492dca1ab0f38c3240cd13aabcfb0899ebe
parent3458aefcd15abe7e7b35de0c835ca7a622b8f245
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@skynet.be>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/super.c