Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347807
b: refs/heads/master
c: 3e7a806
h: refs/heads/master
i:
  347805: 636dd59
  347803: 193fcbe
  347799: 4d9d1c6
  347791: 9234429
  347775: 1992ce1
v: v3
  • Loading branch information
Marco Stornelli authored and Al Viro committed Dec 20, 2012
1 parent 0930c00 commit d0fe0ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fc7cd00f616e38973fe3acd0dc7e473da94c52e
refs/heads/master: 3e7a806928ac2dcae1423d6879e4f7e86e59bb9e
4 changes: 1 addition & 3 deletions trunk/fs/ncpfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit d0fe0ec

Please sign in to comment.