summaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorMarco Stornelli <marco.stornelli@gmail.com>2012-12-15 11:59:20 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-21 00:46:29 +0100
commitd30357f2f0ec0bfb67fd39f8f76d22d02d78631e (patch)
tree0923a2f8276af03293410cb2b78b2457d7fc6996 /fs/libfs.c
parentntfs: drop vmtruncate (diff)
downloadlinux-d30357f2f0ec0bfb67fd39f8f76d22d02d78631e.tar.xz
linux-d30357f2f0ec0bfb67fd39f8f76d22d02d78631e.zip
vfs: drop vmtruncate
Removed vmtruncate Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
-rw-r--r--fs/libfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/libfs.c b/fs/libfs.c
index 35fc6e74cd88..916da8c4158b 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
@@ -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;