Ben Gras 
		50b06261b6 
		
	 
	
	
	Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). ... 
			Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.
This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.
This also allowed implementing the F_FREESP fcntl(). 
		
	 
		2006-01-11 17:14:51 +00:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2005-10-21 11:19:35 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-07-27 18:48:48 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2006-01-11 17:14:51 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-09-05 21:22:45 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-07 13:15:09 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-01 13:13:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-07-06 07:22:21 +00:00 
		 
	
		
			
			
			
			
			
			2005-12-13 09:48:29 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-12-13 09:48:29 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-05-31 09:50:51 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-01 13:13:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-05-31 09:50:51 +00:00 
		 
	
		
			
			
			
			
			
			2005-05-31 09:50:51 +00:00 
		 
	
		
			
			
			
			
			
			2006-01-11 17:14:51 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-23 11:07:31 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-17 08:53:33 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-04-21 14:53:53 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-14 15:48:12 +00:00 
		 
	
		
			
			
			
			
			
			2005-06-27 09:30:33 +00:00 
		 
	
		
			
			
			
			
			
			2005-07-06 07:08:36 +00:00 
		 
	
		
			
			
			
			
			
			2005-12-20 14:18:16 +00:00 
		 
	
		
			
			
			
			
			
			2005-07-01 18:01:33 +00:00 
		 
	
		
			
			
			
			
			
			2005-07-11 13:08:00 +00:00