A error about mmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi  I've goten error hen using mmap,the error come from
for(i=0;i<mapsize;i++)    maddr[i]='A';
when i=12288 it return bus error.
I have a suspicion at extents_holes:
if(i_size <=foff+len)		return -EIO;
here should be changed to if(i_size <foff+len)	return -EIO; 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux