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)
commitd1668fe390c1e84580575965684a8fa7e4626dee
tree36e1b6720a0f8f4910339a9ba188c49bfa4c191c
parent7abc2e45e48ca04206949682402d5d55bc64a16b
udf: Remove BKL from free space counting functions

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>
fs/udf/super.c