Commit 33c45458 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] Remove a superflous i_size_write

SGI Modid: xfs-linux:xfs-kern:166629a
parent 79cbe128
......@@ -541,7 +541,6 @@ linvfs_setattr(
if (error)
return(-error); /* Positive error up from XFS */
if (ia_valid & ATTR_SIZE) {
i_size_write(inode, vattr.va_size);
error = vmtruncate(inode, attr->ia_size);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment