mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ANDROID: vfs: Missed updating truncate to truncate2
Bug: 30954918 Change-Id: I8163d3f86dd7aadb2ab3fc11816754f331986f05 Signed-off-by: Daniel Rosenberg <drosen@google.com>
This commit is contained in:
parent
c4d2a199dd
commit
ac0146e438
1 changed files with 1 additions and 1 deletions
|
@ -2210,7 +2210,7 @@ static int handle_truncate(struct file *filp)
|
|||
if (!error)
|
||||
error = security_path_truncate(path);
|
||||
if (!error) {
|
||||
error = do_truncate(path->dentry, 0,
|
||||
error = do_truncate2(path->mnt, path->dentry, 0,
|
||||
ATTR_MTIME|ATTR_CTIME|ATTR_OPEN,
|
||||
filp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue