diff options
Diffstat (limited to 'fs/qnx6/inode.c')
-rw-r--r-- | fs/qnx6/inode.c | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c index 1652e8b99594..44e73923670d 100644 --- a/fs/qnx6/inode.c +++ b/fs/qnx6/inode.c | |||
@@ -73,8 +73,8 @@ static int qnx6_get_block(struct inode *inode, sector_t iblock, | |||
73 | { | 73 | { |
74 | unsigned phys; | 74 | unsigned phys; |
75 | 75 | ||
76 | QNX6DEBUG((KERN_INFO "qnx6: qnx6_get_block inode=[%ld] iblock=[%ld]\n", | 76 | pr_debug("qnx6_get_block inode=[%ld] iblock=[%ld]\n", |
77 | inode->i_ino, (unsigned long)iblock)); | 77 | inode->i_ino, (unsigned long)iblock); |
78 | 78 | ||
79 | phys = qnx6_block_map(inode, iblock); | 79 | phys = qnx6_block_map(inode, iblock); |
80 | if (phys) { | 80 | if (phys) { |
@@ -205,26 +205,16 @@ void qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) | |||
205 | { | 205 | { |
206 | struct qnx6_sb_info *sbi = QNX6_SB(s); | 206 | struct qnx6_sb_info *sbi = QNX6_SB(s); |
207 | 207 | ||
208 | QNX6DEBUG((KERN_INFO "magic: %08x\n", | 208 | pr_debug("magic: %08x\n", fs32_to_cpu(sbi, sb->sb_magic)); |
209 | fs32_to_cpu(sbi, sb->sb_magic))); | 209 | pr_debug("checksum: %08x\n", fs32_to_cpu(sbi, sb->sb_checksum)); |
210 | QNX6DEBUG((KERN_INFO "checksum: %08x\n", | 210 | pr_debug("serial: %llx\n", fs64_to_cpu(sbi, sb->sb_serial)); |
211 | fs32_to_cpu(sbi, sb->sb_checksum))); | 211 | pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); |
212 | QNX6DEBUG((KERN_INFO "serial: %llx\n", | 212 | pr_debug("blocksize: %08x\n", fs32_to_cpu(sbi, sb->sb_blocksize)); |
213 | fs64_to_cpu(sbi, sb->sb_serial))); | 213 | pr_debug("num_inodes: %08x\n", fs32_to_cpu(sbi, sb->sb_num_inodes)); |
214 | QNX6DEBUG((KERN_INFO "flags: %08x\n", | 214 | pr_debug("free_inodes: %08x\n", fs32_to_cpu(sbi, sb->sb_free_inodes)); |
215 | fs32_to_cpu(sbi, sb->sb_flags))); | 215 | pr_debug("num_blocks: %08x\n", fs32_to_cpu(sbi, sb->sb_num_blocks)); |
216 | QNX6DEBUG((KERN_INFO "blocksize: %08x\n", | 216 | pr_debug("free_blocks: %08x\n", fs32_to_cpu(sbi, sb->sb_free_blocks)); |
217 | fs32_to_cpu(sbi, sb->sb_blocksize))); | 217 | pr_debug("inode_levels: %02x\n", sb->Inode.levels); |
218 | QNX6DEBUG((KERN_INFO "num_inodes: %08x\n", | ||
219 | fs32_to_cpu(sbi, sb->sb_num_inodes))); | ||
220 | QNX6DEBUG((KERN_INFO "free_inodes: %08x\n", | ||
221 | fs32_to_cpu(sbi, sb->sb_free_inodes))); | ||
222 | QNX6DEBUG((KERN_INFO "num_blocks: %08x\n", | ||
223 | fs32_to_cpu(sbi, sb->sb_num_blocks))); | ||
224 | QNX6DEBUG((KERN_INFO "free_blocks: %08x\n", | ||
225 | fs32_to_cpu(sbi, sb->sb_free_blocks))); | ||
226 | QNX6DEBUG((KERN_INFO "inode_levels: %02x\n", | ||
227 | sb->Inode.levels)); | ||
228 | } | 218 | } |
229 | #endif | 219 | #endif |
230 | 220 | ||
@@ -283,8 +273,7 @@ static struct buffer_head *qnx6_check_first_superblock(struct super_block *s, | |||
283 | sbi->s_bytesex = BYTESEX_BE; | 273 | sbi->s_bytesex = BYTESEX_BE; |
284 | if (fs32_to_cpu(sbi, sb->sb_magic) == QNX6_SUPER_MAGIC) { | 274 | if (fs32_to_cpu(sbi, sb->sb_magic) == QNX6_SUPER_MAGIC) { |
285 | /* we got a big endian fs */ | 275 | /* we got a big endian fs */ |
286 | QNX6DEBUG((KERN_INFO "qnx6: fs got different" | 276 | pr_debug("fs got different endianness.\n"); |
287 | " endianness.\n")); | ||
288 | return bh; | 277 | return bh; |
289 | } else | 278 | } else |
290 | sbi->s_bytesex = BYTESEX_LE; | 279 | sbi->s_bytesex = BYTESEX_LE; |