diff options
author | Sebastian Manciulea <manciuleas@yahoo.com> | 2008-04-08 08:02:11 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2008-04-17 08:28:33 -0400 |
commit | f4bcbbd92ebda971f7c2cd1132b399808ed6cf9b (patch) | |
tree | 0c68fff93557d4fbcec3ad0eab0382b3084ba60c /fs/udf/super.c | |
parent | 96200be3077c5ede16a90b33aca815b444e66043 (diff) |
udf: Fix handling of multisession media
According to OSTA UDF specification, only anchor blocks and primary volume
descriptors are placed on media relative to the last session. All other block
numbers are absolute (in the partition or the whole media). This seems to be
confirmed by multisession media created by other systems.
Signed-off-by: Sebastian Manciulea <manciuleas@yahoo.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 650f20fe9d62..787cedf6cc07 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -587,7 +587,7 @@ static int udf_remount_fs(struct super_block *sb, int *flags, char *options) | |||
587 | static int udf_vrs(struct super_block *sb, int silent) | 587 | static int udf_vrs(struct super_block *sb, int silent) |
588 | { | 588 | { |
589 | struct volStructDesc *vsd = NULL; | 589 | struct volStructDesc *vsd = NULL; |
590 | int sector = 32768; | 590 | loff_t sector = 32768; |
591 | int sectorsize; | 591 | int sectorsize; |
592 | struct buffer_head *bh = NULL; | 592 | struct buffer_head *bh = NULL; |
593 | int iso9660 = 0; | 593 | int iso9660 = 0; |