search for: getquota_rslt_u

Displaying 3 results from an estimated 3 matches for "getquota_rslt_u".

2006 Feb 03
0
rquotad (NFS) quota plugin
...uf.f_mntfromname); + root->state = RQUOTAD_ERR; + return; + } + + qargs.gqa_pathp = remotepath; + qargs.gqa_uid = getuid(); + + if (rquota_get(remotehost, &qargs, &qres) != 0) { + return; + } + + switch (qres.status) { + case Q_OK: + root->kbyte_limit = + (qres.getquota_rslt_u.gqr_rquota.rq_bhardlimit * + qres.getquota_rslt_u.gqr_rquota.rq_bsize) / 1024; + root->kbyte_usage = + (qres.getquota_rslt_u.gqr_rquota.rq_curblocks * + qres.getquota_rslt_u.gqr_rquota.rq_bsize) / 1024; + /* inodes */ + root->inode_limit = + qres.getquota_rslt_u....
2010 Jun 29
1
NFS(4) IMAP Quota
...ount->type, "nfs4") == 0) + while (*path == '/') + path++; if (root->root.quota->set->debug) { i_info("quota-fs: host=%s, path=%s, uid=%s, %s", @@ -366,17 +371,24 @@ /* convert the results from blocks to bytes */ const rquota *rq = &result.getquota_rslt_u.gqr_rquota; - if (rq->rq_active) { - if (bytes) { - *value_r = (uint64_t)rq->rq_curblocks * - (uint64_t)rq->rq_bsize; + if (bytes) { + *value_r = (uint64_t)rq->rq_curblocks * + (uint64_t)rq->rq_bsize; + if (rq->rq_bsoftlimit) { *limit_r = (uint64_t)rq->...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: yes Checking for member dqb_fsoftlimit in struct dqblk : no Checking for member dqb_curbytes in struct dqblk : no Checking for header rpcsvc/rquota.h : yes Checking for member getquota_rslt_u in struct getquota_rslt : yes Checking for header rpc/types.h : yes Checking for header rpc/nettype.h : no Checking for header rpc/xdr.h...