]>
Commit | Line | Data |
---|---|---|
1b4073be | 1 | --- nfs-utils-1.0.7/utils/rquotad/rquota_server.c.orig 2005-08-02 10:02:31.000000000 -0400 |
2 | +++ nfs-utils-1.0.7/utils/rquotad/rquota_server.c 2005-08-02 10:08:37.000000000 -0400 | |
3 | @@ -173,7 +173,11 @@ getquota_rslt *getquotainfo(int flags, c | |
4 | rquota = &result.getquota_rslt_u.gqr_rquota; | |
5 | rquota->rq_bhardlimit = dq_dqb.dqb_bhardlimit; | |
6 | rquota->rq_bsoftlimit = dq_dqb.dqb_bsoftlimit;; | |
7 | +#if _LINUX_QUOTA_VERSION < 2 | |
8 | rquota->rq_curblocks = dq_dqb.dqb_curblocks; | |
9 | +#else | |
10 | + rquota->rq_curblocks = dq_dqb.dqb_curspace; | |
11 | +#endif | |
12 | rquota->rq_fhardlimit = dq_dqb.dqb_ihardlimit; | |
13 | rquota->rq_fsoftlimit = dq_dqb.dqb_isoftlimit; | |
14 | rquota->rq_curfiles = dq_dqb.dqb_curinodes; | |
15 | ||
16 |