aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/truncate.c')
-rw-r--r--fs/ufs/truncate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ufs/truncate.c b/fs/ufs/truncate.c
index 589e01a465ba..085e11623b7b 100644
--- a/fs/ufs/truncate.c
+++ b/fs/ufs/truncate.c
@@ -525,7 +525,10 @@ int ufs_setattr(struct dentry *dentry, struct iattr *attr)
525 if (error) 525 if (error)
526 return error; 526 return error;
527 } 527 }
528 return inode_setattr(inode, attr); 528
529 setattr_copy(inode, attr);
530 mark_inode_dirty(inode);
531 return 0;
529} 532}
530 533
531const struct inode_operations ufs_file_inode_operations = { 534const struct inode_operations ufs_file_inode_operations = {