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

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

diff -u --recursive --new-file v2.3.38/linux/fs/qnx4/bitmap.c linux/fs/qnx4/bitmap.c
@@ -86,6 +86,8 @@
 	return qnx4_count_free_blocks(sb) * QNX4_INODES_PER_BLOCK;	/* FIXME */
 }
 
+#ifdef CONFIG_QNX4FS_RW
+
 int qnx4_is_free(struct super_block *sb, long block)
 {
 	int start = sb->u.qnx4_sb.BitMap->di_first_xtnt.xtnt_blk - 1;
@@ -114,8 +116,6 @@
 
 	return ret;
 }
-
-#ifdef CONFIG_QNX4FS_RW
 
 int qnx4_set_bitmap(struct super_block *sb, long block, int busy)
 {

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