kernel:fs:update inode size when do lseek
authorwangwang <wangwang1@lenovo.com>
Thu, 28 Mar 2019 03:27:36 +0000 (11:27 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:00 +0000 (17:37 +0800)
commite734ae7097e4d78f4bf608554b4f55bb1b86523f
treea7ffe8e1d926b8a59eab1f63b94318fe33447d7d
parent4f8350b2f0f2fe306b7fa9ed59a6ef501394678e
kernel:fs:update inode size when do lseek

sdcardfs file node info was not updated when lowlevel file was updated
force to update the inode size when do lseek systemcall

Change-Id: I34802cc33f5cddd9dd8d304c5803cd0886805faf
Signed-off-by: wangwang <wangwang1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1328861
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
fs/sdcardfs/file.c