udf: Move handling of uniqueID into a helper function and protect it by a s_alloc_mutex
authorJan Kara <jack@suse.cz>
Wed, 20 Oct 2010 16:28:46 +0000 (18:28 +0200)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 16:03:55 +0000 (17:03 +0100)
uniqueID handling has been duplicated in three places. Move it into a common
helper. Since we modify an LVID buffer with uniqueID update, we take
sbi->s_alloc_mutex to protect agaist other modifications of the structure.

Signed-off-by: Jan Kara <jack@suse.cz>

No differences found