diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2023-05-30 17:35:00 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2024-01-08 21:57:22 +0900 |
commit | f55c096f62f100aa9f5f48d86e1b6846ecbd67e7 (patch) | |
tree | d5dce12faa25ab245312c8741e391d9c6e3e0aa0 /fs/ntfs/mst.c | |
parent | 11a347fb6cef62ce47e84b97c45f2b2497c7593b (diff) | |
download | linux-stable-f55c096f62f100aa9f5f48d86e1b6846ecbd67e7.tar.gz linux-stable-f55c096f62f100aa9f5f48d86e1b6846ecbd67e7.tar.bz2 linux-stable-f55c096f62f100aa9f5f48d86e1b6846ecbd67e7.zip |
exfat: do not zero the extended part
Since the read operation beyond the ValidDataLength returns zero,
if we just extend the size of the file, we don't need to zero the
extended part, but only change the DataLength without changing
the ValidDataLength.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/ntfs/mst.c')
0 files changed, 0 insertions, 0 deletions