Re: [PATCH] ntfs: add check for mft record size in superblock

From: Rustam Kovhaev
Date: Sun Aug 23 2020 - 22:06:20 EST


On Mon, Aug 24, 2020 at 01:44:06AM +0000, Anton Altaparmakov wrote:
> Hi Rustam,
>
> Thank you for the patch but it introduces an endianness bug - you have to us le32_to_cpu(m->bytes_allocated) both when doing the comparison and then printing the message.
>
> Also, please drop the square brackets. Wherever the driver prints such things it never uses brackets around the numbers and it would be better to have this consistent throughout.
>
> Can you please resend with the above issues addressed? You can then also add to the commit message:
>
> Acked-by: Anton Altaparmakov <anton@xxxxxxxxxx>
>
> Thanks!
>
> Best regards,
>
> Anton
>
hi Anton,
thank you for the review, my bad, i'll get it fixed and i'll resend the patch