[PVFS-users] A query

Mahesh Salunkhe pvfsmahesh at yahoo.com
Mon May 24 02:17:10 EDT 2004


Hi!
 In fs_info structure there is an array of iod_info
stuct of size 1.
	struct fs_info {
	.
	.
	.
	iod_info iod[1];
	}
	
	But,the indices greater than 1 are also reffered for
getting info. of iods.E.g. ,in the do_statfs()
function,a reference like following is made:
   
	fs_p->iod[i].ack.ack.statfs.tot_bytes

        the array is of size 1 and higher indices are
also being used.How does it work,I haven't
understood.(I wrote a simlpe program to see whether
this type of access is allowed,but it didn,t work.)
What technique r u using there?



=====



	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 


More information about the PVFS-users mailing list