]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/attr.c
Merge branch 'omap-clock-fixes' of git://git.pwsan.com/linux-2.6
[linux-2.6-omap-h63xx.git] / fs / attr.c
index f4360192a9387614b090e4ee6b467c6ee9ae082d..9fe1b1bd30a808c82b1ebfbd8f644732e4f36f3c 100644 (file)
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -173,7 +173,8 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
                if (!error) {
                        if ((ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) ||
                            (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid))
-                               error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0;
+                               error = vfs_dq_transfer(inode, attr) ?
+                                       -EDQUOT : 0;
                        if (!error)
                                error = inode_setattr(inode, attr);
                }