diff options
-rw-r--r-- | fs/udf/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index c19ee38e85b3..3cd5a855033b 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -474,7 +474,7 @@ static int udf_parse_options(char *options, struct udf_options *uopt) | |||
474 | return 1; | 474 | return 1; |
475 | } | 475 | } |
476 | 476 | ||
477 | void udf_write_super(struct super_block *sb) | 477 | static void udf_write_super(struct super_block *sb) |
478 | { | 478 | { |
479 | lock_kernel(); | 479 | lock_kernel(); |
480 | 480 | ||
@@ -1447,7 +1447,6 @@ static int udf_load_partition(struct super_block *sb, kernel_lb_addr *fileset) | |||
1447 | map->s_type_specific.s_virtual.s_num_entries = | 1447 | map->s_type_specific.s_virtual.s_num_entries = |
1448 | (sbi->s_vat_inode->i_size - 36) >> 2; | 1448 | (sbi->s_vat_inode->i_size - 36) >> 2; |
1449 | } else if (map->s_partition_type == UDF_VIRTUAL_MAP20) { | 1449 | } else if (map->s_partition_type == UDF_VIRTUAL_MAP20) { |
1450 | struct buffer_head *bh = NULL; | ||
1451 | uint32_t pos; | 1450 | uint32_t pos; |
1452 | 1451 | ||
1453 | pos = udf_block_map(sbi->s_vat_inode, 0); | 1452 | pos = udf_block_map(sbi->s_vat_inode, 0); |