udf: Fix handling of multisession media
authorSebastian Manciulea <manciuleas@yahoo.com>
Tue, 8 Apr 2008 12:02:11 +0000 (14:02 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:28:33 +0000 (14:28 +0200)
commitf4bcbbd92ebda971f7c2cd1132b399808ed6cf9b
tree0c68fff93557d4fbcec3ad0eab0382b3084ba60c
parent96200be3077c5ede16a90b33aca815b444e66043
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>
fs/udf/misc.c
fs/udf/super.c