udf: Simplify handling of Volume Descriptor Pointers
authorJan Kara <jack@suse.cz>
Fri, 9 Feb 2018 12:28:41 +0000 (13:28 +0100)
committerJan Kara <jack@suse.cz>
Fri, 16 Feb 2018 10:15:04 +0000 (11:15 +0100)
commit7b568cba4f0af32522f84c1378e71a47a9c61bb0
treee75aed72b2e9aab3f685090a2dc28ced4e6124ec
parent91c9c9ec54c1e88d9ef59a7b12cf31d6ef5d1e58
udf: Simplify handling of Volume Descriptor Pointers

According to ECMA-167 3/8.4.2 Volume Descriptor Pointer is terminating
current extent of Volume Descriptor Sequence. Also according to ECMA-167
3/8.4.3 Volume Descriptor Sequence Number is not significant for Volume
Descriptor Pointers. Simplify the handling of Volume Descriptor Pointers
to take this into account.

Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c