UDF: During mount free lvid_bh before rescanning with different blocksize
authorAshish Sangwan <ashishsangwan2@gmail.com>
Sat, 21 Jul 2012 11:05:17 +0000 (16:35 +0530)
committerJan Kara <jack@suse.cz>
Tue, 14 Aug 2012 22:22:56 +0000 (00:22 +0200)
commitdc141a402b9dc03a4188cd978a4cf149c397172c
treeacd14c58793a094e3b9253b285c26a7f0e749e63
parentbb2b6d19ec8b593b66402e2895c4314955b19833
UDF: During mount free lvid_bh before rescanning with different blocksize

If s_lvid_bh is not freed and set to NULL before re-scanning partition
with default block size, we might end up using wrong lvid in case
s_lvid_bh is not updated in udf_load_logicalvolint during rescan.

Signed-off-by: Ashish Sangwan <ashish.sangwan2@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c