atom feed1 message in org.freebsd.p4-projectsPERFORCE change 190611 for review
FromSent OnAttachments
Zheng LiuMar 26, 2011 10:48 pm 
Subject:PERFORCE change 190611 for review
From:Zheng Liu (lz@FreeBSD.org)
Date:Mar 26, 2011 10:48:17 pm
List:org.freebsd.p4-projects

http://p4web.freebsd.org/@@190611?ac=10

Change 190611 by lz@freebsd-dev on 2011/03/27 05:48:24

Rename ext2_rsv_win.h to ext2_prealloc.h.

Affected files ...

.. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_alloc.c#41 edit .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_balloc.c#7 edit .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_inode.c#7 edit .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_prealloc.h#1 move/add .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_rsv_win.h#13
move/delete .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_vfsops.c#14 edit

Moved files ...

.. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_prealloc.h#1 moved from
//depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_rsv_win.h#12

Differences ...

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_alloc.c#41 (text+ko)
====

@@ -51,7 +51,7 @@ #include <fs/ext2fs/ext2fs.h> #include <fs/ext2fs/fs.h> #include <fs/ext2fs/ext2_extern.h> -#include <fs/ext2fs/ext2_rsv_win.h> +#include <fs/ext2fs/ext2_prealloc.h>

#define FANCY_REALLOC 1

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_balloc.c#7 (text+ko)
====

@@ -49,7 +49,8 @@ #include <fs/ext2fs/fs.h> #include <fs/ext2fs/ext2_extern.h> #include <fs/ext2fs/ext2_mount.h> -#include <fs/ext2fs/ext2_rsv_win.h> +#include <fs/ext2fs/ext2_prealloc.h> + /* * Balloc defines the structure of file system storage * by allocating the physical blocks on a device given

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_inode.c#7 (text+ko)
====

@@ -52,7 +52,7 @@ #include <fs/ext2fs/ext2fs.h> #include <fs/ext2fs/fs.h> #include <fs/ext2fs/ext2_extern.h> -#include <fs/ext2fs/ext2_rsv_win.h> +#include <fs/ext2fs/ext2_prealloc.h>

static int ext2_indirtrunc(struct inode *, int32_t, int32_t, int32_t, int, long *);

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_prealloc.h#1
(text+ko) ====

@@ -1,5 +1,5 @@ /*- - * Copyright (c) 2010, 2010 Zheng Liu <lz@freebsd.org> + * Copyright (c) 2010, 2011 Zheng Liu <lz@freebsd.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -23,10 +23,10 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/fs/ext2fs/ext2_rsv_win.h,v 0.1 2010/05/08 12:41:51 lz Exp
$ + * $FreeBSD: src/sys/fs/ext2fs/ext2_prealloc.h,v 0.1 2011/03/27 13:37:00 lz Exp
$ */ -#ifndef _FS_EXT2FS_EXT2_RSV_WIN_H_ -#define _FS_EXT2FS_EXT2_RSV_WIN_H_ +#ifndef _FS_EXT2FS_EXT2_PREALLOC_H_ +#define _FS_EXT2FS_EXT2_PREALLOC_H_

#include <sys/tree.h>

@@ -75,4 +75,4 @@ void ext2_discard_rsv(struct inode *ip); int ext2_alloc_rsv(struct inode *, int32_t, int32_t, int, struct ucred *,
int32_t *);

-#endif /* !_FS_EXT2FS_EXT2_RSV_WIN_H_ */ +#endif /* !_FS_EXT2FS_EXT2_PREALLOC_H_ */

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_vfsops.c#14 (text+ko)
====

@@ -62,7 +62,7 @@ #include <fs/ext2fs/ext2fs.h> #include <fs/ext2fs/ext2_dinode.h> #include <fs/ext2fs/ext2_extern.h> -#include <fs/ext2fs/ext2_rsv_win.h> +#include <fs/ext2fs/ext2_prealloc.h>

static int ext2_flushfiles(struct mount *mp, int flags, struct thread *td); static int ext2_mountfs(struct vnode *, struct mount *);