msdosfs_fat.c (298074) | msdosfs_fat.c (298806) |
---|---|
1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_fat.c 298074 2016-04-15 17:28:24Z pfg $ */ | 1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_fat.c 298806 2016-04-29 20:51:24Z pfg $ */ |
2/* $NetBSD: msdosfs_fat.c,v 1.28 1997/11/17 15:36:49 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 160 unchanged lines hidden (view full) --- 170 /* 171 * All other files do I/O in cluster sized blocks 172 */ 173 if (sp) 174 *sp = pmp->pm_bpcluster; 175 176 /* 177 * Rummage around in the fat cache, maybe we can avoid tromping | 2/* $NetBSD: msdosfs_fat.c,v 1.28 1997/11/17 15:36:49 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 160 unchanged lines hidden (view full) --- 170 /* 171 * All other files do I/O in cluster sized blocks 172 */ 173 if (sp) 174 *sp = pmp->pm_bpcluster; 175 176 /* 177 * Rummage around in the fat cache, maybe we can avoid tromping |
178 * thru every fat entry for the file. And, keep track of how far | 178 * through every fat entry for the file. And, keep track of how far |
179 * off the cache was from where we wanted to be. 180 */ 181 i = 0; 182 fc_lookup(dep, findcn, &i, &cn); 183 184 /* 185 * Handle all other files or directories the normal way. 186 */ --- 948 unchanged lines hidden --- | 179 * off the cache was from where we wanted to be. 180 */ 181 i = 0; 182 fc_lookup(dep, findcn, &i, &cn); 183 184 /* 185 * Handle all other files or directories the normal way. 186 */ --- 948 unchanged lines hidden --- |