exfat: fix wrong size update of stream entry by typo
authorHyeongseok Kim <hyeongseok@gmail.com>
Wed, 8 Jul 2020 09:52:33 +0000 (18:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:38 +0000 (10:19 +0200)
commit2fbf81522489897962e500596923b3adf002f40a
treec510a8e42c34d6ac1180850375bd926afbc284ce
parent270e78f57638f30d71accead4082f17b9cfc6128
exfat: fix wrong size update of stream entry by typo

commit 41e3928f8c58184fcf0bb22e822af39a436370c7 upstream.

The stream.size field is updated to the value of create timestamp
of the file entry. Fix this to use correct stream entry pointer.

Fixes: 29bbb14bfc80 ("exfat: fix incorrect update of stream entry in __exfat_truncate()")
Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/exfat/file.c