]> git.pld-linux.org Git - packages/quota.git/blame - quota-reiserfs.patch
- fixes for quota 3.00
[packages/quota.git] / quota-reiserfs.patch
CommitLineData
69eba283
JR
1diff -ur quota-2.00-pre4.orig/hasquota.c quota-2.00-pre4/hasquota.c
2--- quota-2.00-pre4.orig/hasquota.c Sat Jan 29 10:06:10 2000
3+++ quota-2.00-pre4/hasquota.c Sat May 27 00:37:38 2000
4@@ -28,7 +28,7 @@
5 #define min(x,y) ((x) < (y)) ? (x) : (y)
6
7 #define CORRECT_FSTYPE(type) \
8-(!strcmp(type,MNTTYPE_EXT2))
9+(!strcmp(type,MNTTYPE_EXT2) || !strcmp(type,MNTTYPE_REISERFS))
10
11 char *qfextension[] = INITQFNAMES;
12 static char *qfname = QUOTAFILENAME;
13diff -ur quota-2.00-pre4.orig/mntent.h quota-2.00-pre4/mntent.h
14--- quota-2.00-pre4.orig/mntent.h Sat Jan 29 10:06:10 2000
15+++ quota-2.00-pre4/mntent.h Sat May 27 00:36:14 2000
16@@ -23,6 +23,7 @@
17 #define MNTTYPE_PROC "proc" /* Linux process file system */
18 #define MNTTYPE_IGNORE "ignore" /* Ignore this entry */
19 #define MNTTYPE_SWAP "swap" /* Swap device */
20+#define MNTTYPE_REISERFS "reiserfs" /* ReiserFS */
21
22 /* generic mount options */
23 #define MNTOPT_DEFAULTS "defaults" /* use all default opts */
24@@ -74,6 +75,14 @@
25 #define MNTOPT_USRQUOTA "usrquota" /* use userquota on this partition */
26 #define MNTOPT_GRPQUOTA "grpquota" /* use groupquota on this partition */
27 #define MNTOPT_RSQUASH "rsquash" /* threat root as an ordinary user */
28+
29+/* reiserfs specific options */
30+#define MNTOPT_NOTAIL "notail"
31+#define MNTOPT_NOLOG "nolog"
32+#define MNTOPT_REPLAYONLY "replayonly"
33+#define MNTOPT_RESIZE "resize"
34+#define MNTOPT_HASH "hash"
35+#define MNTOPT_QCACHE "qcache"
36
37 /* none defined yet */
38
This page took 0.129393 seconds and 4 git commands to generate.