diff options
-rw-r--r-- | fs/quota/dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 1914a2f6c84c..1ff91314b8a0 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c | |||
@@ -1812,7 +1812,7 @@ int dquot_transfer(struct inode *inode, struct iattr *iattr) | |||
1812 | if (iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid) | 1812 | if (iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid) |
1813 | transfer_to[USRQUOTA] = dqget(sb, iattr->ia_uid, USRQUOTA); | 1813 | transfer_to[USRQUOTA] = dqget(sb, iattr->ia_uid, USRQUOTA); |
1814 | if (iattr->ia_valid & ATTR_GID && iattr->ia_gid != inode->i_gid) | 1814 | if (iattr->ia_valid & ATTR_GID && iattr->ia_gid != inode->i_gid) |
1815 | transfer_to[GRPQUOTA] = dqget(sb, iattr->ia_uid, GRPQUOTA); | 1815 | transfer_to[GRPQUOTA] = dqget(sb, iattr->ia_gid, GRPQUOTA); |
1816 | 1816 | ||
1817 | ret = __dquot_transfer(inode, transfer_to); | 1817 | ret = __dquot_transfer(inode, transfer_to); |
1818 | dqput_all(transfer_to); | 1818 | dqput_all(transfer_to); |