patch-2.4.2 linux/fs/dquot.c
Next file: linux/fs/exec.c
Previous file: linux/fs/devpts/inode.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Feb 16 16:06:17 2001
- Orig file:
v2.4.1/linux/fs/dquot.c
- Orig date:
Tue Nov 28 22:40:50 2000
diff -u --recursive --new-file v2.4.1/linux/fs/dquot.c linux/fs/dquot.c
@@ -47,12 +47,11 @@
#include <linux/stat.h>
#include <linux/tty.h>
#include <linux/file.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/mount.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
-#include <linux/slab.h>
#include <asm/uaccess.h>
@@ -1536,7 +1535,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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)