aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs')
-rw-r--r--fs/ufs/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/truncate.c b/fs/ufs/truncate.c
index 56ab31f00bd0..87bbab685901 100644
--- a/fs/ufs/truncate.c
+++ b/fs/ufs/truncate.c
@@ -520,7 +520,7 @@ static int ufs_setattr(struct dentry *dentry, struct iattr *attr)
520 520
521 if ((ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) || 521 if ((ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) ||
522 (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) { 522 (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) {
523 error = vfs_dq_transfer(inode, attr) ? -EDQUOT : 0; 523 error = dquot_transfer(inode, attr);
524 if (error) 524 if (error)
525 return error; 525 return error;
526 } 526 }