Sfoglia il codice sorgente

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 15 anni fa
parent
commit
e7c274f808
2 ha cambiato i file con 132 aggiunte e 164 eliminazioni
  1. 131 163
      fs/nilfs2/btree.c
  2. 1 1
      fs/nilfs2/btree.h

File diff suppressed because it is too large
+ 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 *);
 };
 

Some files were not shown because too many files changed in this diff