udf: Protect all modifications of LVID with s_alloc_mutex
authorJan Kara <jack@suse.cz>
Wed, 20 Oct 2010 16:49:20 +0000 (18:49 +0200)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 16:03:55 +0000 (17:03 +0100)
udf_open_lvid() and udf_close_lvid() were modifying LVID without
s_alloc_mutex. Since they can be called from remount, the modification
could race with other filesystem modifications of LVID so protect them
by s_alloc_mutex just to be sure.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c

diff --cc fs/udf/super.c
Simple merge