Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140011
b: refs/heads/master
c: e650b94
h: refs/heads/master
i:
  140009: f3def4a
  140007: 3c5d607
v: v3
  • Loading branch information
Jan Kara committed Apr 2, 2009
1 parent 30037bc commit 0407351
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30930554f23511645ad9cfb89792219bf398b654
refs/heads/master: e650b94addfbf072952df762e6f1c6c9e26c4f9c
22 changes: 8 additions & 14 deletions trunk/fs/udf/balloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,23 +840,17 @@ void udf_free_blocks(struct super_block *sb, struct inode *inode,
struct udf_part_map *map = &UDF_SB(sb)->s_partmaps[partition];

if (map->s_partition_flags & UDF_PART_FLAG_UNALLOC_BITMAP) {
return udf_bitmap_free_blocks(sb, inode,
map->s_uspace.s_bitmap,
bloc, offset, count);
udf_bitmap_free_blocks(sb, inode, map->s_uspace.s_bitmap,
bloc, offset, count);
} else if (map->s_partition_flags & UDF_PART_FLAG_UNALLOC_TABLE) {
return udf_table_free_blocks(sb, inode,
map->s_uspace.s_table,
bloc, offset, count);
udf_table_free_blocks(sb, inode, map->s_uspace.s_table,
bloc, offset, count);
} else if (map->s_partition_flags & UDF_PART_FLAG_FREED_BITMAP) {
return udf_bitmap_free_blocks(sb, inode,
map->s_fspace.s_bitmap,
bloc, offset, count);
udf_bitmap_free_blocks(sb, inode, map->s_fspace.s_bitmap,
bloc, offset, count);
} else if (map->s_partition_flags & UDF_PART_FLAG_FREED_TABLE) {
return udf_table_free_blocks(sb, inode,
map->s_fspace.s_table,
bloc, offset, count);
} else {
return;
udf_table_free_blocks(sb, inode, map->s_fspace.s_table,
bloc, offset, count);
}
}

Expand Down

0 comments on commit 0407351

Please sign in to comment.