Staging: pohmelfs: fix build breakage
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 13 Feb 2009 12:53:57 +0000 (15:53 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:36 +0000 (14:53 -0700)
drivers/staging/pohmelfs/inode.c:982: error: implicit declaration of
function 'DQUOT_TRANSFER'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/inode.c

index 0980c3c..908fc64 100644 (file)
@@ -979,7 +979,7 @@ int pohmelfs_setattr_raw(struct inode *inode, struct iattr *attr)
 
        if ((attr->ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) ||
            (attr->ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) {
-               err = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0;
+               err = vfs_dq_transfer(inode, attr) ? -EDQUOT : 0;
                if (err)
                        goto err_out_exit;
        }