udf: Remove BKL from free space counting functions
authorJan Kara <jack@suse.cz>
Wed, 20 Oct 2010 21:24:12 +0000 (23:24 +0200)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 16:03:56 +0000 (17:03 +0100)
udf_count_free_bitmap() does not need BKL because bitmaps are in a fixed
place on disk and so we can count set bits without serialization.
udf_count_free_table() is now protected by s_alloc_mutex instead of BKL
to get a consistent view of free space extents.

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

No differences found