Re: [PATCH v2 1/2] udf: refactor VRS descriptor identification

2019-07-12 Thread Jan Kara
On Thu 11-07-19 20:15:21, Pali Rohár wrote: > On Thursday 11 July 2019 08:38:51 Steven J. Magnani wrote: > > --- a/fs/udf/super.c2019-07-10 18:57:41.192852154 -0500 > > +++ b/fs/udf/super.c2019-07-10 20:47:50.438352500 -0500 > > @@ -685,16 +685,62 @@ out_unlock: > > return

Re: [PATCH v2 1/2] udf: refactor VRS descriptor identification

2019-07-11 Thread Pali Rohár
On Thursday 11 July 2019 08:38:51 Steven J. Magnani wrote: > --- a/fs/udf/super.c 2019-07-10 18:57:41.192852154 -0500 > +++ b/fs/udf/super.c 2019-07-10 20:47:50.438352500 -0500 > @@ -685,16 +685,62 @@ out_unlock: > return error; > } > > -/* Check Volume Structure Descriptors (ECMA 167

[PATCH v2 1/2] udf: refactor VRS descriptor identification

2019-07-11 Thread Steven J. Magnani
Extract code that parses a Volume Recognition Sequence descriptor (component), in preparation for calling it twice against different locations in a block. Change from v1: Fix regression in debug logging of "open disc" condition Signed-off-by: Steven J. Magnani --- a/fs/udf/super.c