commit | d664b6af609ecf5e7dcedf92f0bf188e3a29b3e0 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Oct 20 18:28:46 2010 +0200 |
committer | Jan Kara <jack@suse.cz> | Thu Jan 06 17:03:55 2011 +0100 |
tree | 865eb1db44abdceefea52e46117af61051b610e8 | |
parent | 49521de119d326d04fb3736ab827e12e1de966d0 [diff] |
udf: Move handling of uniqueID into a helper function and protect it by a s_alloc_mutex 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>