Re: [PATCH] btrfs/ulist: replace the magic number 128 with macro definition ULIST_SIZE_INCREMENT

2012-03-15 Thread Andrea Gelmini
On Thu, Mar 08, 2012 at 12:38:17PM +0800, Wang Sheng-Hui wrote: > Remove the magic number 128 in btrfs/ulist.c. > Introduce the macro definition ULIST_SIZE_INCREMENT in btrfs/ulist.h. I'm using this patch without problem since you published it (compressed /home with hourly snapshot delete/creatio

[PATCH] btrfs/ulist: replace the magic number 128 with macro definition ULIST_SIZE_INCREMENT

2012-03-07 Thread Wang Sheng-Hui
Remove the magic number 128 in btrfs/ulist.c. Introduce the macro definition ULIST_SIZE_INCREMENT in btrfs/ulist.h. Signed-off-by: Wang Sheng-Hui --- fs/btrfs/ulist.c |2 +- fs/btrfs/ulist.h |5 + 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/ulist.c b/fs/bt