Browse Source

fixed linux24 and linux24benh user-space interface for samba's quota useage

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2155 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 22 years ago
parent
commit
f8a11eff8a
4 changed files with 108 additions and 2 deletions
  1. +0
    -1
      package/base/linux24/95-inet-for-userspace.patch
  2. +54
    -0
      package/base/linux24/96-quota-for-userspace.patch
  3. +0
    -1
      package/powerpc/linux24benh/95-inet-for-userspace.patch
  4. +54
    -0
      package/powerpc/linux24benh/96-quota-for-userspace.patch

+ 0
- 1
package/base/linux24/95-inet-for-userspace.patch

@ -20,7 +20,6 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
The in.h file need protection for some defines where the types are not known The in.h file need protection for some defines where the types are not known
to the user-space and pkt_sched.h missed the inclusion of the types.h to the user-space and pkt_sched.h missed the inclusion of the types.h
header which types it utilizes ... header which types it utilizes ...

+ 54
- 0
package/base/linux24/96-quota-for-userspace.patch

@ -0,0 +1,54 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/linux24/95-inet-for-userspace.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
Samba needs the struct ...
- Rene Rebe <rene@rocklinux.org>
--- linux-2.4.24/include/linux/quota.h.orig 2004-01-09 21:51:11.000000000 +0100
+++ linux-2.4.24/include/linux/quota.h 2004-01-09 21:55:10.000000000 +0100
@@ -132,12 +132,6 @@
__u32 dqi_valid;
};
-#ifdef __KERNEL__
-
-#include <linux/dqblk_xfs.h>
-#include <linux/dqblk_v1.h>
-#include <linux/dqblk_v2.h>
-
/*
* Data for one user/group kept in memory
*/
@@ -152,6 +146,12 @@
time_t dqb_itime; /* time limit for excessive inode use */
};
+#ifdef __KERNEL__
+
+#include <linux/dqblk_xfs.h>
+#include <linux/dqblk_v1.h>
+#include <linux/dqblk_v2.h>
+
/*
* Data for one quotafile kept in memory
*/

+ 0
- 1
package/powerpc/linux24benh/95-inet-for-userspace.patch

@ -20,7 +20,6 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
The in.h file need protection for some defines where the types are not known The in.h file need protection for some defines where the types are not known
to the user-space and pkt_sched.h missed the inclusion of the types.h to the user-space and pkt_sched.h missed the inclusion of the types.h
header which types it utilizes ... header which types it utilizes ...

+ 54
- 0
package/powerpc/linux24benh/96-quota-for-userspace.patch

@ -0,0 +1,54 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/linux24/95-inet-for-userspace.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
Samba needs the struct ...
- Rene Rebe <rene@rocklinux.org>
--- linux-2.4.24/include/linux/quota.h.orig 2004-01-09 21:51:11.000000000 +0100
+++ linux-2.4.24/include/linux/quota.h 2004-01-09 21:55:10.000000000 +0100
@@ -132,12 +132,6 @@
__u32 dqi_valid;
};
-#ifdef __KERNEL__
-
-#include <linux/dqblk_xfs.h>
-#include <linux/dqblk_v1.h>
-#include <linux/dqblk_v2.h>
-
/*
* Data for one user/group kept in memory
*/
@@ -152,6 +146,12 @@
time_t dqb_itime; /* time limit for excessive inode use */
};
+#ifdef __KERNEL__
+
+#include <linux/dqblk_xfs.h>
+#include <linux/dqblk_v1.h>
+#include <linux/dqblk_v2.h>
+
/*
* Data for one quotafile kept in memory
*/

Loading…
Cancel
Save