patch-2.3.23 linux/fs/hpfs/dnode.c

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

diff -u --recursive --new-file v2.3.22/linux/fs/hpfs/dnode.c linux/fs/hpfs/dnode.c
@@ -539,7 +539,7 @@
 				brelse(bh);
 			}
 			i->i_hpfs_dno = down;
-			for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | 1, (loff_t) -2);
+			for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | 1, (loff_t) 12);
 			return;
 		}
 		if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return;
@@ -876,7 +876,7 @@
 	hpfs_brelse4(&qbh0);
 	
 	bail:
-	*posp = -2;
+	*posp = 12;
 	return de;
 }
 

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