wok diff fusecloop/stuff/fusecloop.u @ rev 17426

linux: hardlink on fifos, sockets, char & block devices and symlinks in initramfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 09:00:59 2014 +0100 (2014-12-05)
parents ade6b9da6804
children bbffbcf032d1
line diff
     1.1 --- a/fusecloop/stuff/fusecloop.u	Tue Sep 23 10:35:20 2014 +0200
     1.2 +++ b/fusecloop/stuff/fusecloop.u	Fri Dec 05 09:00:59 2014 +0100
     1.3 @@ -60,10 +60,10 @@
     1.4  +		return (char *) "32BE v0.68";
     1.5  +	}
     1.6  +	else { /* V3.0 */
     1.7 -+		int i;
     1.8 ++		unsigned long i;
     1.9  +		loff_t j;
    1.10  +		
    1.11 -+		for (i = n; i-- > 0; )
    1.12 ++		for (i = n; i-- != 0; )
    1.13  +			offsets[i].size = ntohl(ofs32[i]); 
    1.14  +		for (i = 0, j = sizeof(struct cloop_head); i < n; i++) {
    1.15  +			offsets[i].offset = j;