]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
exfat: Month timestamp metadata accidentally incremented
authorValdis Klētnieks <valdis.kletnieks@vt.edu>
Fri, 15 Jan 2021 07:38:19 +0000 (02:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Jan 2021 13:05:34 +0000 (14:05 +0100)
commit099340d3e758cca06a82bf5dcff8b9a8acbdcb0a
tree2eac1ecf069e8d298488041c56d408a7657e2ee0
parentbb039d45ebc5d4bcaf91b93704a404156311ea3b
exfat: Month timestamp metadata accidentally incremented

The staging/exfat driver has departed, but a lot of distros are still tracking
5.4-stable, so we should fix this.

There was an 0/1 offset error in month handling for file metadata, causing
the month to get incremented on each reference to the file.

Thanks to Sebastian Gurtler for troubleshooting this, and Arpad Mueller
for bringing it to my attention.

Relevant discussions:
https://bugzilla.kernel.org/show_bug.cgi?id=210997
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1872504

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c