use __u32 in linux/reiserfs_fs.h
Since this header is exported to userspace and all the other types in the header have been scrubbed, this brings the last straggler in line. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
d20894a237
Коммит
13d8bcd263
|
@ -287,7 +287,7 @@ static inline struct reiserfs_sb_info *REISERFS_SB(const struct super_block *sb)
|
|||
|
||||
/* Don't trust REISERFS_SB(sb)->s_bmap_nr, it's a u16
|
||||
* which overflows on large file systems. */
|
||||
static inline u32 reiserfs_bmap_count(struct super_block *sb)
|
||||
static inline __u32 reiserfs_bmap_count(struct super_block *sb)
|
||||
{
|
||||
return (SB_BLOCK_COUNT(sb) - 1) / (sb->s_blocksize * 8) + 1;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче