pre-2.2.15-15 compilation problem with quota support

From: glouis@dynamicro.on.ca
Date: Fri Mar 17 2000 - 17:49:03 EST


With quota support turned on, this error in linking vmlinuz:

fs/fs.o: In function `sys_quotactl':
fs/fs.o(.text+0x13ed5): undefined reference to `in_egroup_p'

is prevented by:

--- linux/fs/dquot.c.orig Fri Mar 17 17:14:07 2000
+++ linux/fs/dquot.c Fri Mar 17 17:35:15 2000
@@ -1582,7 +1582,7 @@
                        break;
                case Q_GETQUOTA:
                        if (((type == USRQUOTA && current->euid !=
id) ||
- (type == GRPQUOTA && !in_egroup_p(id))) &&
+ (type == GRPQUOTA && !in_group_p(id))) &&
                            !capable(CAP_SYS_RESOURCE))
                                goto out;
                        break;

in_group_p is defined in attr.c and I can't find any definition for
in_egroup_p anywhere, but maybe that was a work in progress :)

-- 
| G r e g  L o u i s                    | pgp:  keys.pgp.com        |
|   http://www.bgl.nu/~glouis           | id glouis@dynamicro.on.ca |
| "Knowing what thou knowest not is, in |  2BC6 4F5A 6657 FF4E 9FBC |
|   "a sense, omniscience" -- Piet Hein |  5DAA 2304 76A9 CCA6 5B45 |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:23 EST