udf: destroy sbi mutex in put_super
authorFabian Frederick <fabf@skynet.be>
Sat, 10 Jan 2015 18:13:32 +0000 (19:13 +0100)
committerJan Kara <jack@suse.cz>
Mon, 12 Jan 2015 09:56:04 +0000 (10:56 +0100)
commitbbe48dd811474adc2df96803f910d4dc2b5e5bde
tree57fbc1bfa320f9be86c04d4677a3a4710b60329f
parent23b133bdc452aa441fcb9b82cbf6dd05cfd342d0
udf: destroy sbi mutex in put_super

Call mutex_destroy() on superblock mutex in udf_put_super()
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>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c