Deleted Added
full compact
ext2_lookup.c (92462) ext2_lookup.c (92728)
1/*
2 * modified for Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
1/*
2 * modified for Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
7 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_lookup.c 92462 2002-03-17 01:25:47Z mckusick $
7 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_lookup.c 92728 2002-03-19 22:40:48Z alfred $
8 */
9/*
10 * Copyright (c) 1989, 1993
11 * The Regents of the University of California. All rights reserved.
12 * (c) UNIX System Laboratories, Inc.
13 * All or some portions of this file are derived from material licensed
14 * to the University of California by American Telephone and Telegraph
15 * Co. or Unix System Laboratories, Inc. and are reproduced herein with

--- 90 unchanged lines hidden (view full) ---

106 EXT2_FT_SOCK, /* DT_SOCK */
107 EXT2_FT_UNKNOWN, /* unused */
108 EXT2_FT_UNKNOWN, /* DT_WHT */
109};
110#define DTTOFT(dt) \
111 ((dt) > sizeof(dt_to_ext2_ft) / sizeof(dt_to_ext2_ft[0]) ? \
112 EXT2_FT_UNKNOWN : dt_to_ext2_ft[(dt)])
113
8 */
9/*
10 * Copyright (c) 1989, 1993
11 * The Regents of the University of California. All rights reserved.
12 * (c) UNIX System Laboratories, Inc.
13 * All or some portions of this file are derived from material licensed
14 * to the University of California by American Telephone and Telegraph
15 * Co. or Unix System Laboratories, Inc. and are reproduced herein with

--- 90 unchanged lines hidden (view full) ---

106 EXT2_FT_SOCK, /* DT_SOCK */
107 EXT2_FT_UNKNOWN, /* unused */
108 EXT2_FT_UNKNOWN, /* DT_WHT */
109};
110#define DTTOFT(dt) \
111 ((dt) > sizeof(dt_to_ext2_ft) / sizeof(dt_to_ext2_ft[0]) ? \
112 EXT2_FT_UNKNOWN : dt_to_ext2_ft[(dt)])
113
114static int ext2_dirbadentry __P((struct vnode *dp,
114static int ext2_dirbadentry(struct vnode *dp,
115 struct ext2_dir_entry_2 *de,
115 struct ext2_dir_entry_2 *de,
116 int entryoffsetinblock));
116 int entryoffsetinblock);
117
118/*
119 * Vnode op for reading directories.
120 *
121 * The routine below assumes that the on-disk format of a directory
122 * is the same as that defined by <sys/dirent.h>. If the on-disk
123 * format changes, then it will be necessary to do a conversion
124 * from the on-disk format that read returns to the format defined

--- 961 unchanged lines hidden ---
117
118/*
119 * Vnode op for reading directories.
120 *
121 * The routine below assumes that the on-disk format of a directory
122 * is the same as that defined by <sys/dirent.h>. If the on-disk
123 * format changes, then it will be necessary to do a conversion
124 * from the on-disk format that read returns to the format defined

--- 961 unchanged lines hidden ---