diff options
author | Jan Kara <jack@suse.cz> | 2010-10-20 22:32:02 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-01-06 17:03:56 +0100 |
commit | 7abc2e45e48ca04206949682402d5d55bc64a16b (patch) | |
tree | 9ef57aea07cb8c14b21f3849c8335b116967a42e /fs/udf/file.c | |
parent | 0484b1cedc053cf88a046da5f08bc00747e533cb (diff) |
udf: Call udf_add_free_space() for more blocks at once in udf_free_blocks()
There's no need to call udf_add_free_space() for one block at a time. It saves
us noticeable amount of work and yields different result from the original
code only if the filesystem is corrupted and bitmap bit is already cleared.
In such case counter of free blocks is probably wrong anyways so the change
does not matter.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/file.c')
0 files changed, 0 insertions, 0 deletions