mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
vfs: drop vmtruncate
Removed vmtruncate Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9014da7525
commit
d30357f2f0
2 changed files with 0 additions and 3 deletions
|
@ -369,8 +369,6 @@ int simple_setattr(struct dentry *dentry, struct iattr *iattr)
|
|||
struct inode *inode = dentry->d_inode;
|
||||
int error;
|
||||
|
||||
WARN_ON_ONCE(inode->i_op->truncate);
|
||||
|
||||
error = inode_change_ok(inode, iattr);
|
||||
if (error)
|
||||
return error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue