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 tag 'md-3.9' of git://neil.brown.name/md
[firefly-linux-kernel-4.4.55.git]
/
fs
/
libfs.c
diff --git
a/fs/libfs.c
b/fs/libfs.c
index 35fc6e74cd886954aab26d223c603573dfe26786..916da8c4158b0c01d834ead4b056b014eb1797a1 100644
(file)
--- 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;