nilfs2: remove constant qualifier from argument of bmap propagate

The first argument of bops->bop_propagate operation takes a constant
qualifier, and causes compilation error when removed cast to pointer
of nilfs_btree structure type.  This fixes the issue to prepare for
succesive removal of nilfs_btree struct.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
Ryusuke Konishi
2010-07-10 21:37:47 +09:00
parent 25b8d7ded0
commit 583ada4761
3 changed files with 4 additions and 4 deletions

View File

@@ -1899,7 +1899,7 @@ static int nilfs_btree_propagate_v(struct nilfs_btree *btree,
return ret;
}
static int nilfs_btree_propagate(const struct nilfs_bmap *bmap,
static int nilfs_btree_propagate(struct nilfs_bmap *bmap,
struct buffer_head *bh)
{
struct nilfs_btree *btree;
@@ -1942,7 +1942,7 @@ static int nilfs_btree_propagate(const struct nilfs_bmap *bmap,
return ret;
}
static int nilfs_btree_propagate_gc(const struct nilfs_bmap *bmap,
static int nilfs_btree_propagate_gc(struct nilfs_bmap *bmap,
struct buffer_head *bh)
{
return nilfs_dat_mark_dirty(nilfs_bmap_get_dat(bmap), bh->b_blocknr);