* typo in 2.4.1/fs/dquot.c
@ 2001-02-15 12:24 Vladimir V. Saveliev
0 siblings, 0 replies; only message in thread
From: Vladimir V. Saveliev @ 2001-02-15 12:24 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
Hi
The attached is a fix for typo in 2.4.1/fs/dquot.c. It is not fixed yet
in 2.4.2pre3.
This typo causes quotactl (Q_GETQUOTA & GRPQUOTA, ..) to return EPERM.
Jan Kara (jack@suse.cz) confirmed that this is really a typo and that
the fix is a right one.
Thanks,
vs
[-- Attachment #2: dquot.c.patch --]
[-- Type: text/plain, Size: 351 bytes --]
--- dquot.c.orig Wed Feb 14 04:08:26 2001
+++ dquot.c Wed Feb 14 04:09:00 2001
@@ -1536,7 +1536,7 @@
break;
case Q_GETQUOTA:
if (((type == USRQUOTA && current->euid != id) ||
- (type == GRPQUOTA && in_egroup_p(id))) &&
+ (type == GRPQUOTA && !in_egroup_p(id))) &&
!capable(CAP_SYS_RESOURCE))
goto out;
break;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-02-15 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-15 12:24 typo in 2.4.1/fs/dquot.c Vladimir V. Saveliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®