patch-2.3.39 linux/fs/qnx4/dir.c

Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/qnx4/bitmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/fs/qnx4/dir.c linux/fs/qnx4/dir.c
@@ -37,8 +37,7 @@
 	while (filp->f_pos < inode->i_size) {
 		blknum = qnx4_block_map( inode, filp->f_pos / QNX4_BLOCK_SIZE );
 		bh = bread(inode->i_dev, blknum, QNX4_BLOCK_SIZE);
-		if(bh==NULL)
-		{
+		if(bh==NULL) {
 			printk(KERN_ERR "qnx4_readdir: bread failed (%ld)\n", blknum);
 			break;
 		}
@@ -57,8 +56,7 @@
 					QNX4DEBUG(("qnx4_readdir:%.*s\n", size, de->di_fname));
 					if ( ( de->di_status & QNX4_FILE_LINK ) == 0 )
 						ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1;
-					else
-					{
+					else {
 						le  = (struct qnx4_link_info*)de;
 						ino = ( le->dl_inode_blk - 1 ) *
 							QNX4_INODES_PER_BLOCK +

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)