[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/nfs-utils/devel nfs-utils-1.0.7-rquotad-curblocks.patch, NONE, 1.1 nfs-utils.spec, 1.59, 1.60



Author: steved

Update of /cvs/dist/rpms/nfs-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv1122

Modified Files:
	nfs-utils.spec 
Added Files:
	nfs-utils-1.0.7-rquotad-curblocks.patch 
Log Message:
- updated rquotad to compile with latest quota version.


nfs-utils-1.0.7-rquotad-curblocks.patch:
 rquota_server.c |    4 ++++
 1 files changed, 4 insertions(+)

--- NEW FILE nfs-utils-1.0.7-rquotad-curblocks.patch ---
--- nfs-utils-1.0.7/utils/rquotad/rquota_server.c.orig	2005-08-02 10:02:31.000000000 -0400
+++ nfs-utils-1.0.7/utils/rquotad/rquota_server.c	2005-08-02 10:08:37.000000000 -0400
@@ -173,7 +173,11 @@ getquota_rslt *getquotainfo(int flags, c
          rquota = &result.getquota_rslt_u.gqr_rquota;
          rquota->rq_bhardlimit = dq_dqb.dqb_bhardlimit;
          rquota->rq_bsoftlimit = dq_dqb.dqb_bsoftlimit;;
+#if _LINUX_QUOTA_VERSION < 2
          rquota->rq_curblocks = dq_dqb.dqb_curblocks;
+#else
+         rquota->rq_curblocks = dq_dqb.dqb_curspace;
+#endif
          rquota->rq_fhardlimit = dq_dqb.dqb_ihardlimit;
          rquota->rq_fsoftlimit = dq_dqb.dqb_isoftlimit;
          rquota->rq_curfiles = dq_dqb.dqb_curinodes;


Index: nfs-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- nfs-utils.spec	2 Aug 2005 16:44:19 -0000	1.59
+++ nfs-utils.spec	2 Aug 2005 18:24:08 -0000	1.60
@@ -43,6 +43,7 @@
 Patch62: nfs-utils-1.0.7-svcgssd-bufover.patch
 Patch63: nfs-utils-1.0.7-idmap-reopen.patch
 Patch64: nfs-utils-1.0.7-gssd-64bit.patch
+Patch65: nfs-utils-1.0.7-rquotad-curblocks.patch
 
 Patch100: nfs-utils-1.0.7-compile.patch
 Patch150: nfs-utils-1.0.6-pie.patch
@@ -101,6 +102,7 @@
 %patch62 -p1 -b .overflow
 %patch63 -p1 -b .rename
 %patch64 -p1 -b .64bit
+%patch65 -p1 -b .curblocks
 
 
 # Do the magic to get things to compile
@@ -255,6 +257,8 @@
 - Changed useradd to use new -l flag (bz149407)
 - 64bit fix in gssd code (bz 163139)
 - updated broken dependencies
+- updated rquotad to compile with latest
+  quota version.
 
 * Thu May 26 2005 Steve Dickson <SteveD RedHat com> 1.0.7-8
 - Fixed subscripting problem in idmapd (bz 158188)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]