[PATCH 2/2] nilfs2: Combine nilfs_btree_release_path() and nilfs_btree_free_path()

2010-04-02 Thread Li Hong
Sorry, a same patch sent out a short time ago but replied to a wrong thread. cut here -- nilfs_btree_release_path() and nilfs_btree_free_path() are bound into each other tightly. Make them into one procedure to clearify the logic and avoid some misusages.

[PATCH 1/2] nilfs2: Combine nilfs_btree_alloc_path() and nilfs_btree_init_path()

2010-04-02 Thread Li Hong
Hi Ryusuke Konishi, Sorry. The patches passed checkpatch.pl now. Send them again. Thanks, Li Hong From bbb2fd5b906dbae1cee759549cb24678e41f824c Mon Sep 17 00:00:00 2001 From: Li Hong lihong...@gmail.com Date: Fri, 2 Apr 2010 17:36:34 +0800 Subject: [PATCH 1/2] nilfs2: Combine

Re: [PATCH 1/2] nilfs2: Combine nilfs_btree_alloc_path() and nilfs_btree_init_path()

2010-04-02 Thread Ryusuke Konishi
On Fri, 2 Apr 2010 21:36:05 +0800, Li Hong lihong...@gmail.com wrote: Hi Ryusuke Konishi, Sorry. The patches passed checkpatch.pl now. Send them again. Thanks, Li Hong Ok, will queue the new ones. Thanks, Ryusuke Konishi From bbb2fd5b906dbae1cee759549cb24678e41f824c Mon Sep 17

[PATCH 2/2] nilfs2: move out checksum routines to segment buffer code

2010-04-02 Thread Ryusuke Konishi
This moves out checksum routines in log writer to segbuf.c for cleanup. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- fs/nilfs2/segbuf.c | 39 +++ fs/nilfs2/segbuf.h |3 +-- fs/nilfs2/segment.c | 33

[PATCH 1/2] nilfs2: move pointer to super root block into logs

2010-04-02 Thread Ryusuke Konishi
This moves a pointer to buffer storing super root block to each log buffer from nilfs_sc_info struct for simplicity. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- fs/nilfs2/segbuf.c |2 ++ fs/nilfs2/segbuf.h |2 ++ fs/nilfs2/segment.c | 45