nilfs2: unify type of key arguments in bmap interface
The type of key arguments in block mapping interface varies depending on function. For instance, nilfs_bmap_lookup_at_level() takes "__u64" for its key argument whereas nilfs_bmap_lookup() takes "unsigned long". This fits them to "__u64" to eliminate the variation. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
0de6d6b9a2
commit
3568a13f40
@@ -153,10 +153,10 @@ int nilfs_bmap_test_and_clear_dirty(struct nilfs_bmap *);
|
||||
int nilfs_bmap_read(struct nilfs_bmap *, struct nilfs_inode *);
|
||||
void nilfs_bmap_write(struct nilfs_bmap *, struct nilfs_inode *);
|
||||
int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned);
|
||||
int nilfs_bmap_insert(struct nilfs_bmap *, unsigned long, unsigned long);
|
||||
int nilfs_bmap_delete(struct nilfs_bmap *, unsigned long);
|
||||
int nilfs_bmap_last_key(struct nilfs_bmap *, unsigned long *);
|
||||
int nilfs_bmap_truncate(struct nilfs_bmap *, unsigned long);
|
||||
int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec);
|
||||
int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key);
|
||||
int nilfs_bmap_last_key(struct nilfs_bmap *bmap, __u64 *keyp);
|
||||
int nilfs_bmap_truncate(struct nilfs_bmap *bmap, __u64 key);
|
||||
void nilfs_bmap_clear(struct nilfs_bmap *);
|
||||
int nilfs_bmap_propagate(struct nilfs_bmap *, struct buffer_head *);
|
||||
void nilfs_bmap_lookup_dirty_buffers(struct nilfs_bmap *, struct list_head *);
|
||||
|
Reference in New Issue
Block a user