udf: Remove BKL from free space counting functions
commitd1668fe390c1e84580575965684a8fa7e4626dee
authorJan Kara <jack@suse.cz>
Wed, 20 Oct 2010 21:24:12 +0000 (20 23:24 +0200)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 16:03:56 +0000 (6 17:03 +0100)
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