提交 13d8bcd2 编写于 作者: M Mike Frysinger 提交者: Linus Torvalds

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: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d20894a2
...@@ -287,7 +287,7 @@ static inline struct reiserfs_sb_info *REISERFS_SB(const struct super_block *sb) ...@@ -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 /* Don't trust REISERFS_SB(sb)->s_bmap_nr, it's a u16
* which overflows on large file systems. */ * 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; return (SB_BLOCK_COUNT(sb) - 1) / (sb->s_blocksize * 8) + 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册