Hi,
I've downloaded the sources for the package "ltspfs", applied the following patch, compiled it, replaced "/usr/bin/ltspfs" manually and then it works as expected
Patch: {{{ --- ltspfs-1.1/src/ltspfs.c +++ ltspfs-1.1/src/ltspfs.c @@ -907,14 +907,14 @@ if (ret) return parse_return(&in);
- xdr_int(&in, &stbuf->f_type); /* type of fs */ - xdr_int(&in, &stbuf->f_bsize); /* optimal transfer block sz */ + xdr_int(&in, &f_type); /* type of fs */ + xdr_int(&in, &f_bsize); /* optimal transfer block sz */ xdr_u_longlong_t(&in, &stbuf->f_blocks); /* total data blocks in fs */ xdr_u_longlong_t(&in, &stbuf->f_bfree); /* free blks in fs */ xdr_u_longlong_t(&in, &stbuf->f_bavail); /* free blks avail to non-su */ xdr_u_longlong_t(&in, &stbuf->f_files); /* total file nodes in fs */ xdr_u_longlong_t(&in, &stbuf->f_ffree); /* free file nodes in fs */ - xdr_int(&in, &stbuf->f_namelen); + xdr_int(&in, &f_namelen);
return OK; }
}}}
Hope this helps, would be very great if it would be fixed...
Hi,
I've downloaded the sources for the package "ltspfs", applied the following patch, compiled it, replaced "/usr/bin/ltspfs" manually and then it works as expected
Patch: 1.1/src/ ltspfs. c 1.1/src/ ltspfs. c
{{{
--- ltspfs-
+++ ltspfs-
@@ -907,14 +907,14 @@
if (ret)
return parse_return(&in);
- xdr_int(&in, &stbuf->f_type); /* type of fs */ u_longlong_ t(&in, &stbuf->f_blocks); /* total data blocks in fs */ u_longlong_ t(&in, &stbuf->f_bfree); /* free blks in fs */ u_longlong_ t(&in, &stbuf->f_bavail); /* free blks avail to non-su */ u_longlong_ t(&in, &stbuf->f_files); /* total file nodes in fs */ u_longlong_ t(&in, &stbuf->f_ffree); /* free file nodes in fs */
- xdr_int(&in, &stbuf->f_bsize); /* optimal transfer block sz */
+ xdr_int(&in, &f_type); /* type of fs */
+ xdr_int(&in, &f_bsize); /* optimal transfer block sz */
xdr_
xdr_
xdr_
xdr_
xdr_
- xdr_int(&in, &stbuf->f_namelen);
+ xdr_int(&in, &f_namelen);
return OK;
}
}}}
Hope this helps, would be very great if it would be fixed...