Displaying 3 results from an estimated 3 matches for "statfsbuf".
2006 Feb 03
0
rquotad (NFS) quota plugin
...t rquotad_quota *quota = (struct rquotad_quota *)root->root.quota;
+ va_list args;
+ va_start(args, errmsg);
+ quota->error = p_strdup_vprintf(root->pool, errmsg, args);
+ va_end(args);
+ }
+
+ static void rquotad_quota_root_update(struct rquotad_quota_root *root)
+ {
+ struct statfs statfsbuf;
+ struct getquota_args qargs;
+ struct getquota_rslt qres;
+ char *remotehost, *remotepath;
+ char *c;
+
+ if (root->state == RQUOTAD_OFF) {
+ return;
+ }
+
+ if (statfs(root->name, &statfsbuf) < 0) {
+ rquotad_quota_root_error_alloc(root, strerror(errno));
+ root->s...
2007 Jul 11
1
NFS and Filesystem quota
...nt->cl_ops->cl_call'
from incompatible pointer type
quota-rquotad.c:267: warning: passing argument 6 of 'clnt->cl_ops->cl_call'
from incompatible pointer type
quota-rquotad.c: In function 'rquotad_quota_root_update':
quota-rquotad.c:275: error: storage size of 'statfsbuf' isn't known
quota-rquotad.c:291: error: 'MNT_LOCAL' undeclared (first use in this
function)
quota-rquotad.c:275: warning: unused variable 'statfsbuf'
make[4]: *** [quota-rquotad.lo] Error 1
make[4]: Leaving directory
`/home/lgstosej/dovecot/dovecot-1.0.1/src/plugins/quota...
1999 Aug 16
0
Compile Problem with 2.05a under Linux
...DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS = -ldl
Compiling smbd/server.c
In file included from /usr/include/sys/statfs.h:26,
from include/includes.h:302,
from smbd/server.c:22:
/usr/include/statfsbuf.h:23: redefinition of `struct statfs'
make: *** [smbd/server.o] Error 1
Can anyone suggest a solution ? C is definitely not my specialty. Thanks
for any help provided.
--
Michael Sloan
The Printing House, Ltd.
michael@theprintinghouse.com