diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/orangefs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c index ef3b4eb54cf2..08ecdeebd6f7 100644 --- a/fs/orangefs/inode.c +++ b/fs/orangefs/inode.c | |||
@@ -223,8 +223,7 @@ int orangefs_setattr(struct dentry *dentry, struct iattr *iattr) | |||
223 | if (ret) | 223 | if (ret) |
224 | goto out; | 224 | goto out; |
225 | 225 | ||
226 | if ((iattr->ia_valid & ATTR_SIZE) && | 226 | if (iattr->ia_valid & ATTR_SIZE) { |
227 | iattr->ia_size != i_size_read(inode)) { | ||
228 | ret = orangefs_setattr_size(inode, iattr); | 227 | ret = orangefs_setattr_size(inode, iattr); |
229 | if (ret) | 228 | if (ret) |
230 | goto out; | 229 | goto out; |