Re: [PATCH 33/39] reiserfs: split right balancing part of balance_leaf() off

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

 



Hello

Jeff Mahoney wrote:
>  This is the second in a set of 4 patches that split balance_leaf up into
>  a group of functions rather than the 2500 beast it once was.
> 
>  This patch splits off the right-tree balancing behavior.
> 
> Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
> ---
>  fs/reiserfs/do_balan.c |  671 +++++++++++++++++++++----------------------------
>  1 file changed, 290 insertions(+), 381 deletions(-)
> 
> --- a/fs/reiserfs/do_balan.c	2007-05-30 17:54:43.000000000 -0400
> +++ b/fs/reiserfs/do_balan.c	2007-05-30 17:55:02.000000000 -0400
> @@ -587,6 +587,293 @@ balance_leaf_left(struct tree_balance *t
>  		                        pos_in_item);
>  }
>  
> +static void
> +balance_leaf_right_insert(struct tree_balance *tb, struct item_head *ih,
> +			  const char *body, int flag, int *zeros_num,
> +			  int item_pos)
> +{

[snip]


> +
> +static void
> +bl_right_paste_de_partial(struct tree_balance *tb, struct item_head *ih,
> +                          const char *body, int flag, int *zeros_num,
> +                          int item_pos, int *pos_in_item)
> +{

shouldn't function name prefixes be more consistent? Either bl_ or
balance_leaf everywhere?

-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux