patch-2.3.10 linux/fs/qnx4/symlinks.c

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

diff -u --recursive --new-file v2.3.9/linux/fs/qnx4/symlinks.c linux/fs/qnx4/symlinks.c
@@ -98,12 +98,12 @@
 	}
 	bh = bread(inode->i_dev, qnx4_ino->i_first_xtnt.xtnt_blk,
 		   QNX4_BLOCK_SIZE);
-	QNX4DEBUG(("qnx4: qnx4_bread sym called -> [%s]\n",
-		   bh->b_data));
 	if (bh == NULL) {
 		QNX4DEBUG(("qnx4: NULL symlink bh\n"));
 		return 0;
 	}
+	QNX4DEBUG(("qnx4: qnx4_bread sym called -> [%s]\n",
+		   bh->b_data));
 	if (bh->b_data[0] != 0) {
 		i = 0;
 		while (i < buflen && (c = bh->b_data[i])) {

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