Re: [PATCH 2/2] ext4: Improve a size determination in two functions

Theodore Ts'o
2017-08-24T17:50:39Z

On Sat, Aug 19, 2017 at 08:49:20PM -0500, Eric Sandeen wrote:
> On 8/19/17 6:48 AM, SF Markus Elfring wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Sat, 19 Aug 2017 13:14:26 +0200
> >
> > Replace the specification of data structures by pointer dereferences
> > as the parameter for the operator "sizeof" to make the corresponding size
> > determination a bit safer according to the Linux coding style convention.
> >
> > This issue was detected by using the Coccinelle software.
> >
> > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
>
> Looks good,
>
> Reviewed-by: Eric Sandeen <sandeen@redhat.com>

Thanks, applied.

- Ted