Explorar o código

nilfs2: get rid of nilfs_btree uses

This replaces all uses of nilfs_btree struct in implementation of
btree mapping with nilfs_bmap struct.

Name of local variable "btree" is kept not to bloat amount of change.
And, a part of local variables "bmap" is renamed to "btree" to uniform
naming rule.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Ryusuke Konishi %!s(int64=15) %!d(string=hai) anos
pai
achega
e7c274f808
Modificáronse 2 ficheiros con 132 adicións e 164 borrados
  1. 131 163
      fs/nilfs2/btree.c
  2. 1 1
      fs/nilfs2/btree.h

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 131 - 163
fs/nilfs2/btree.c


+ 1 - 1
fs/nilfs2/btree.h

@@ -54,7 +54,7 @@ struct nilfs_btree_path {
 	union nilfs_bmap_ptr_req bp_oldreq;
 	union nilfs_bmap_ptr_req bp_newreq;
 	struct nilfs_btnode_chkey_ctxt bp_ctxt;
-	void (*bp_op)(struct nilfs_btree *, struct nilfs_btree_path *,
+	void (*bp_op)(struct nilfs_bmap *, struct nilfs_btree_path *,
 		      int, __u64 *, __u64 *);
 };
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio