Re: [PATCH] Bring ext2 reservations code in line with latest ext3

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

 



On Sun, Nov 12, 2006 at 04:44:07PM -0800, Martin J. Bligh wrote:
 > Did a pass through comparing the functions changed by the ext2
 > reservations patch to current ext3 code. Fixed up comments and
 > typedefs to match latest ext3 code.
 > 
 > Only thing left remaining was the error handling in
 > ext2_try_to_allocate_with_rsv, but it may be OK as is.
 > 
 > Signed-off-by: Martin J. Bligh <[email protected]>

 > +/*
 > + * rsv_is_empty() -- Check if the reservation window is allocated.
 > + * @rsv:		given reservation window to check
 > + *
 > + * returns 1 if the end block is EXT3_RESERVE_WINDOW_NOT_ALLOCATED.
 > + */

s/EXT3/EXT2/ ?

 >  static inline int rsv_is_empty(struct ext2_reserve_window *rsv)
 >  {
 >  	/* a valid reservation end block could not be 0 */
 >  	return (rsv->_rsv_end == EXT2_RESERVE_WINDOW_NOT_ALLOCATED);
 >  }

		Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux