On Tue, Nov 12, 2024 at 1:00 PM Yuezhang.Mo@xxxxxxxx <Yuezhang.Mo@xxxxxxxx> wrote: > > Unaligned direct writes are invalid and should return an error > without making any changes, rather than extending ->valid_size > and then returning an error. Therefore, alignment checking is > required before extending ->valid_size. > > Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength") > Signed-off-by: Yuezhang Mo <Yuezhang.Mo@xxxxxxxx> > Co-developed-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> > Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Applied it to #dev. Thanks!