diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | 0c6c44cb9f93f7c0ad803b41ae7c0b08cf6942e2 (patch) | |
tree | 4647ab990148950182368c90f9142be75153e6c9 /fs/nilfs2/mdt.h | |
parent | 7592ecde65f908f082cfd3440888fd6ae99f4cbb (diff) |
nilfs2: avoid bare use of 'unsigned'
This fixes checkpatch.pl warning "WARNING: Prefer 'unsigned int' to
bare use of 'unsigned'".
Link: http://lkml.kernel.org/r/1462886671-3521-5-git-send-email-konishi.ryusuke@lab.ntt.co.jp
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>
Diffstat (limited to 'fs/nilfs2/mdt.h')
-rw-r--r-- | fs/nilfs2/mdt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nilfs2/mdt.h b/fs/nilfs2/mdt.h index ffb876e6efed..3f67f3932097 100644 --- a/fs/nilfs2/mdt.h +++ b/fs/nilfs2/mdt.h | |||
@@ -53,8 +53,8 @@ struct nilfs_shadow_map { | |||
53 | struct nilfs_mdt_info { | 53 | struct nilfs_mdt_info { |
54 | struct rw_semaphore mi_sem; | 54 | struct rw_semaphore mi_sem; |
55 | struct blockgroup_lock *mi_bgl; | 55 | struct blockgroup_lock *mi_bgl; |
56 | unsigned mi_entry_size; | 56 | unsigned int mi_entry_size; |
57 | unsigned mi_first_entry_offset; | 57 | unsigned int mi_first_entry_offset; |
58 | unsigned long mi_entries_per_block; | 58 | unsigned long mi_entries_per_block; |
59 | struct nilfs_palloc_cache *mi_palloc_cache; | 59 | struct nilfs_palloc_cache *mi_palloc_cache; |
60 | struct nilfs_shadow_map *mi_shadow; | 60 | struct nilfs_shadow_map *mi_shadow; |
@@ -90,7 +90,7 @@ int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz); | |||
90 | void nilfs_mdt_clear(struct inode *inode); | 90 | void nilfs_mdt_clear(struct inode *inode); |
91 | void nilfs_mdt_destroy(struct inode *inode); | 91 | void nilfs_mdt_destroy(struct inode *inode); |
92 | 92 | ||
93 | void nilfs_mdt_set_entry_size(struct inode *, unsigned, unsigned); | 93 | void nilfs_mdt_set_entry_size(struct inode *, unsigned int, unsigned int); |
94 | 94 | ||
95 | int nilfs_mdt_setup_shadow_map(struct inode *inode, | 95 | int nilfs_mdt_setup_shadow_map(struct inode *inode, |
96 | struct nilfs_shadow_map *shadow); | 96 | struct nilfs_shadow_map *shadow); |