projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index a3a78ceb2a2bf8c52a3b16cb7e5ca5648f710b15..75b61677daafa9fdf0317ae58afd5d017ef03c2e 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-273,7
+273,7
@@
static long do_sys_truncate(const char __user *pathname, loff_t length)
if (!error)
error = security_path_truncate(&path, length, 0);
if (!error) {
-
DQUOT_INIT
(inode);
+
vfs_dq_init
(inode);
error = do_truncate(path.dentry, length, 0, NULL);
}