if ( le32_to_cpu( *(__u32*)bh->b_data ) != QNX4_SUPER_MAGIC ) { 
if ( le32_to_cpup((__le32*) bh->b_data) != QNX4_SUPER_MAGIC ) { 
static int qnx4_fill_super(struct super_block *s, void *data, int silent){	struct buffer_head *bh;	struct inode *root;	const char *errmsg;	struct qnx4_sb_info *qs;	qs = kmalloc(sizeof(struct qnx4_sb_info), GFP_KERNEL);	if (!qs)		return -ENOMEM;	s->s_fs_info = qs;	memset(qs, 0, sizeof(struct qnx4_sb_info));	sb_set_blocksize(s, QNX4_BLOCK_SIZE);	/* Check the superblock signature. Since the qnx4 code is	   dangerous, we should leave as quickly as possible	   if we don't belong here... */	bh = sb_bread(s, 1);	if (!bh) {		printk("qnx4: unable to read the superblock\n");		goto outnobh;	}	if ( le32_to_cpu( *(__u32*)bh->b_data ) != QNX4_SUPER_MAGIC ) {		if (!silent)			printk("qnx4: wrong fsid in superblock.\n");		goto out;	}	s->s_op = &qnx4_sops;	s->s_magic = QNX4_SUPER_MAGIC;#ifndef CONFIG_QNX4FS_RW	s->s_flags |= MS_RDONLY;	/* Yup, read-only yet */#endif	qnx4_sb(s)->sb_buf = bh;	qnx4_sb(s)->sb = (struct qnx4_super_block *) bh->b_data; 	/* check before allocating dentries, inodes, .. */	errmsg = qnx4_checkroot(s);	if (errmsg != NULL) { 		if (!silent) 			printk("qnx4: %s\n", errmsg);		goto out;	} 	/* does root not have inode number QNX4_ROOT_INO ?? */ 	root = iget(s, QNX4_ROOT_INO * QNX4_INODES_PER_BLOCK); 	if (!root) { 		printk("qnx4: get inode failed\n"); 		goto out; 	} 	s->s_root = d_alloc_root(root); 	if (s->s_root == NULL) 		goto outi;	brelse(bh);	return 0;      outi:	iput(root);      out:	brelse(bh);      outnobh:	kfree(qs);	s->s_fs_info = NULL;	return -EINVAL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/75043cb5b386e5a01fd03b88f647dd992de02f97/inode.c/buggy/fs/qnx4/inode.c