ncpfs: drop vmtruncate
PATCH 16/21 ncpfs: drop vmtruncate
Removed vmtruncate
Signed-off-by Marco Stornelli <[email protected]>
--- fs/ncpfs/inode.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
fs/ncpfs/inode.c +1 -3
@@ -976,9 +976,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr) goto out;if (attr->ia_size !=i_size_read (inode)) { - result =vmtruncate (inode, attr->ia_size); -if (result) - goto out; +truncate_setsize (inode, attr->ia_size);mark_inode_dirty (inode); } }
Signature · 1 line
1.7.3.4