aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/direct.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-10 08:37:47 -0400
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-22 21:02:13 -0400
commit583ada4761e18bb105ce5181b0b13cf55ead6201 (patch)
tree01f0ea519265b965e50d87edd826ec56cdc7ca42 /fs/nilfs2/direct.c
parent25b8d7ded0e4579bf152882249abfd351e65a17d (diff)
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>
Diffstat (limited to 'fs/nilfs2/direct.c')
-rw-r--r--fs/nilfs2/direct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/direct.c b/fs/nilfs2/direct.c
index 32f1746a74a7..fd006eefc254 100644
--- a/fs/nilfs2/direct.c
+++ b/fs/nilfs2/direct.c
@@ -269,7 +269,7 @@ int nilfs_direct_delete_and_convert(struct nilfs_bmap *bmap,
269 return 0; 269 return 0;
270} 270}
271 271
272static int nilfs_direct_propagate(const struct nilfs_bmap *bmap, 272static int nilfs_direct_propagate(struct nilfs_bmap *bmap,
273 struct buffer_head *bh) 273 struct buffer_head *bh)
274{ 274{
275 struct nilfs_direct *direct = (struct nilfs_direct *)bmap; 275 struct nilfs_direct *direct = (struct nilfs_direct *)bmap;