← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1021579] Re: ltspfs shows wrong partition size when plug-in usb drive into thin client

 

Hi again... I made a mistake (guess I need more coffee or something) ,
first patch is reversed... It should read:

{{{
--- 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, &f_type); /* type of fs */
- xdr_int(&in, &f_bsize); /* optimal transfer block sz */
+ xdr_int(&in, &stbuf->f_type); /* type of fs */
+ xdr_int(&in, &stbuf->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, &f_namelen);
+ xdr_int(&in, &stbuf->f_namelen);

     return OK;
 }

}}}

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltspfs in Ubuntu.
https://bugs.launchpad.net/bugs/1021579

Title:
  ltspfs shows wrong partition size when plug-in usb drive into thin
  client

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/1021579/+subscriptions


Follow ups

References