msdosfs_lookup.c (171747) | msdosfs_lookup.c (171750) |
---|---|
1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_lookup.c 171747 2007-08-07 01:07:16Z bde $ */ | 1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_lookup.c 171750 2007-08-07 02:08:06Z bde $ */ |
2/* $NetBSD: msdosfs_lookup.c,v 1.37 1997/11/17 15:36:54 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 * --- 35 unchanged lines hidden (view full) --- 45 * functioning of this software in any circumstances and is not liable for 46 * any damages caused by this software. 47 * 48 * October 1992 49 */ 50 51#include <sys/param.h> 52#include <sys/systm.h> | 2/* $NetBSD: msdosfs_lookup.c,v 1.37 1997/11/17 15:36:54 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 * --- 35 unchanged lines hidden (view full) --- 45 * functioning of this software in any circumstances and is not liable for 46 * any damages caused by this software. 47 * 48 * October 1992 49 */ 50 51#include <sys/param.h> 52#include <sys/systm.h> |
53#include <sys/namei.h> | |
54#include <sys/buf.h> | 53#include <sys/buf.h> |
55#include <sys/vnode.h> | |
56#include <sys/mount.h> | 54#include <sys/mount.h> |
55#include <sys/namei.h> 56#include <sys/vnode.h> |
|
57 58#include <fs/msdosfs/bpb.h> | 57 58#include <fs/msdosfs/bpb.h> |
59#include <fs/msdosfs/msdosfsmount.h> | |
60#include <fs/msdosfs/direntry.h> 61#include <fs/msdosfs/denode.h> 62#include <fs/msdosfs/fat.h> | 59#include <fs/msdosfs/direntry.h> 60#include <fs/msdosfs/denode.h> 61#include <fs/msdosfs/fat.h> |
62#include <fs/msdosfs/msdosfsmount.h> |
|
63 64/* 65 * When we search a directory the blocks containing directory entries are 66 * read and examined. The directory entries contain information that would 67 * normally be in the inode of a unix filesystem. This means that some of 68 * a directory's contents may also be in memory resident denodes (sort of 69 * an inode). This can cause problems if we are searching while some other 70 * process is modifying a directory. To prevent one process from accessing --- 1012 unchanged lines hidden --- | 63 64/* 65 * When we search a directory the blocks containing directory entries are 66 * read and examined. The directory entries contain information that would 67 * normally be in the inode of a unix filesystem. This means that some of 68 * a directory's contents may also be in memory resident denodes (sort of 69 * an inode). This can cause problems if we are searching while some other 70 * process is modifying a directory. To prevent one process from accessing --- 1012 unchanged lines hidden --- |