Skip to content
Commit 29bbb14b authored by Namjae Jeon's avatar Namjae Jeon
Browse files

exfat: fix incorrect update of stream entry in __exfat_truncate()



At truncate, there is a problem of incorrect updating in the file entry
pointer instead of stream entry. This will cause the problem of
overwriting the time field of the file entry to new_size. Fix it to
update stream entry.

Fixes: 98d91704 ("exfat: add file operations")
Cc: stable@vger.kernel.org # v5.7
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
parent f341a7d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment