Comment 7 for bug 1021579

Revision history for this message
datube (datube) wrote :

Hi,

I need to complete my solution. The above patch is for the server-side and the following fixes the one for the client (chroot):

{{{
--- ltspfs-1.1/src/ltspfsd_functions.c
+++ ltspfs-1.1/src/ltspfsd_functions.c
@@ -895,8 +895,8 @@
     xdr_int(&out, &i); /* dummy length */
     i = LTSP_STATUS_OK; /* OK status */
     xdr_int(&out, &i);
- xdr_int(&out, &f_type); /* type of fs */
- xdr_int(&out, &f_bsize); /* optimal transfer block sz */
+ xdr_int(&out, &stbuf.f_type); /* type of fs */
+ xdr_int(&out, &stbuf.f_bsize); /* optimal transfer block sz */
     xdr_u_longlong_t(&out, &stbuf.f_blocks); /* total data blocks in fs */
     xdr_u_longlong_t(&out, &stbuf.f_bfree); /* free blks in fs */
     xdr_u_longlong_t(&out, &stbuf.f_bavail); /* free blks avail to non-su */
}}}

Still hopes this helps