ext2_alloc.c (92462) | ext2_alloc.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 */ 7/* 8 * Copyright (c) 1982, 1986, 1989, 1993 --- 23 unchanged lines hidden (view full) --- 32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)ext2_alloc.c 8.8 (Berkeley) 2/21/94 | 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/* 8 * Copyright (c) 1982, 1986, 1989, 1993 --- 23 unchanged lines hidden (view full) --- 32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * @(#)ext2_alloc.c 8.8 (Berkeley) 2/21/94 |
40 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_alloc.c 92462 2002-03-17 01:25:47Z mckusick $ | 40 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_alloc.c 92728 2002-03-19 22:40:48Z alfred $ |
41 */ 42 43#include "opt_quota.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/conf.h> 48#include <sys/vnode.h> --- 6 unchanged lines hidden (view full) --- 55#include <ufs/ufs/inode.h> 56#include <ufs/ufs/ufsmount.h> 57 58#include <gnu/ext2fs/ext2_fs.h> 59#include <gnu/ext2fs/ext2_fs_sb.h> 60#include <gnu/ext2fs/fs.h> 61#include <gnu/ext2fs/ext2_extern.h> 62 | 41 */ 42 43#include "opt_quota.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/conf.h> 48#include <sys/vnode.h> --- 6 unchanged lines hidden (view full) --- 55#include <ufs/ufs/inode.h> 56#include <ufs/ufs/ufsmount.h> 57 58#include <gnu/ext2fs/ext2_fs.h> 59#include <gnu/ext2fs/ext2_fs_sb.h> 60#include <gnu/ext2fs/fs.h> 61#include <gnu/ext2fs/ext2_extern.h> 62 |
63static void ext2_fserr __P((struct ext2_sb_info *, u_int, char *)); | 63static void ext2_fserr(struct ext2_sb_info *, u_int, char *); |
64 65/* 66 * Linux calls this functions at the following locations: 67 * (1) the inode is freed 68 * (2) a preallocation miss occurs 69 * (3) truncate is called 70 * (4) release_file is called and f_mode & 2 71 * --- 486 unchanged lines hidden --- | 64 65/* 66 * Linux calls this functions at the following locations: 67 * (1) the inode is freed 68 * (2) a preallocation miss occurs 69 * (3) truncate is called 70 * (4) release_file is called and f_mode & 2 71 * --- 486 unchanged lines hidden --- |