projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b113a
)
quota: Fixup dquot_transfer
author
Jan Kara
<jack@suse.cz>
Mon, 24 May 2010 10:39:49 +0000
(12:39 +0200)
committer
Jan Kara
<jack@suse.cz>
Thu, 27 May 2010 15:39:36 +0000
(17:39 +0200)
Commit
bc8e5f07392f05c47c8bdeff4f7098db440d065c
had a typo which caused
quota miscomputation when changing owner group of a file. Linus will hate
me.
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
patch
|
blob
|
history
diff --git
a/fs/quota/dquot.c
b/fs/quota/dquot.c
index 1914a2f6c84c04fb905d06b0528524ebbc200ddd..1ff91314b8a0363c0f2287eaf315191dcc0c0ec2 100644
(file)
--- a/
fs/quota/dquot.c
+++ b/
fs/quota/dquot.c
@@
-1812,7
+1812,7
@@
int dquot_transfer(struct inode *inode, struct iattr *iattr)
if (iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid)
transfer_to[USRQUOTA] = dqget(sb, iattr->ia_uid, USRQUOTA);
if (iattr->ia_valid & ATTR_GID && iattr->ia_gid != inode->i_gid)
- transfer_to[GRPQUOTA] = dqget(sb, iattr->ia_
u
id, GRPQUOTA);
+ transfer_to[GRPQUOTA] = dqget(sb, iattr->ia_
g
id, GRPQUOTA);
ret = __dquot_transfer(inode, transfer_to);
dqput_all(transfer_to);