Re: [PATCH] staging: exfat: add millisecond support

From: Greg Kroah-Hartman
Date: Sun Sep 08 2019 - 09:03:41 EST


On Sun, Sep 08, 2019 at 12:48:08PM +0000, Valentin Vidic wrote:
> Drop duplicated date_time_t struct and add millisecond handling for
> create and modify time. Also drop millisecond field for access time
> since it is not defined in the the spec.
>
> Signed-off-by: Valentin Vidic <vvidic@xxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/staging/exfat/exfat.h | 38 +++---
> drivers/staging/exfat/exfat_core.c | 31 ++++-
> drivers/staging/exfat/exfat_super.c | 174 ++++++++--------------------
> 3 files changed, 92 insertions(+), 151 deletions(-)

Please run checkpatch on your patches so that we don't have to go and
fix up those issues later on.

Also, can you break this up into smaller patches please? You are doing
multiple things all at once.

And, are you sure about the millisecond field for access time stuff? It
was obviously added for some reason (there are lots in the spec that the
code does not yet cover, this seems odd being the other way around).
Did you test it against any other operating system exfat images to
ensure that it really is not being used at all? If so, which ones?

thanks,

greg k-h