Staging: pohmelfs: fix build breakage

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>
This commit is contained in:
Alexander Beregalov 2009-02-13 15:53:57 +03:00 committed by Greg Kroah-Hartman
parent f26c3036f2
commit de459f26f3

View 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;
}