git: ext2fs: Remove sys/gnu/vfs/ext2fs and make sys/vfs/ext2fs the default

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Dec 7 06:25:41 PST 2021


commit fcfd9e22061b8fa31303c1c21a9241afe7077238
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Mon Dec 6 01:23:39 2021 +0900

    ext2fs: Remove sys/gnu/vfs/ext2fs and make sys/vfs/ext2fs the default
    
    This commit removes the old+unstable GPL ext2 implementation,
    and makes the new FreeBSD based ext2 implementation
    (since cfe603905713d4e92a7956678970d5dff8e913f2) the default.
    
    - Remove sys/gnu/vfs.
    - Rename sys/vfs/ext2fs/ext2fs_freebsd.ko -> ext2fs.ko.
    - Modify unusual userspace program which includes kernel struct.
    - Bump __DragonFly_version to 600107.

Summary of changes:
 etc/mtree/BSD.include.dist             |    8 +-
 include/Makefile                       |    3 +-
 lib/libfsid/ext2.c                     |   28 +-
 sys/conf/files                         |   28 +-
 sys/gnu/Makefile                       |    2 +-
 sys/gnu/vfs/Makefile                   |    3 -
 sys/gnu/vfs/ext2fs/COPYRIGHT.INFO      |   54 -
 sys/gnu/vfs/ext2fs/Makefile            |   10 -
 sys/gnu/vfs/ext2fs/dinode.h            |  133 --
 sys/gnu/vfs/ext2fs/dir.h               |  157 ---
 sys/gnu/vfs/ext2fs/ext2_alloc.c        |  535 --------
 sys/gnu/vfs/ext2fs/ext2_balloc.c       |  311 -----
 sys/gnu/vfs/ext2fs/ext2_bitops.h       |  114 --
 sys/gnu/vfs/ext2fs/ext2_bmap.c         |  336 ------
 sys/gnu/vfs/ext2fs/ext2_extern.h       |  121 --
 sys/gnu/vfs/ext2fs/ext2_fs.h           |  634 ----------
 sys/gnu/vfs/ext2fs/ext2_fs_sb.h        |   84 --
 sys/gnu/vfs/ext2fs/ext2_ihash.c        |  210 ----
 sys/gnu/vfs/ext2fs/ext2_inode.c        |  573 ---------
 sys/gnu/vfs/ext2fs/ext2_inode_cnv.c    |  136 ---
 sys/gnu/vfs/ext2fs/ext2_linux_balloc.c |  622 ----------
 sys/gnu/vfs/ext2fs/ext2_linux_ialloc.c |  515 --------
 sys/gnu/vfs/ext2fs/ext2_linux_super.c  |  133 --
 sys/gnu/vfs/ext2fs/ext2_lookup.c       | 1045 ----------------
 sys/gnu/vfs/ext2fs/ext2_mount.h        |  120 --
 sys/gnu/vfs/ext2fs/ext2_quota.c        |  925 --------------
 sys/gnu/vfs/ext2fs/ext2_readwrite.c    |  291 -----
 sys/gnu/vfs/ext2fs/ext2_subr.c         |   83 --
 sys/gnu/vfs/ext2fs/ext2_vfsops.c       | 1241 -------------------
 sys/gnu/vfs/ext2fs/ext2_vnops.c        | 2079 --------------------------------
 sys/gnu/vfs/ext2fs/fs.h                |  198 ---
 sys/gnu/vfs/ext2fs/inode.h             |  159 ---
 sys/gnu/vfs/ext2fs/quota.h             |  200 ---
 sys/sys/param.h                        |    3 +-
 sys/vfs/ext2fs/Makefile                |    2 +-
 usr.bin/fstat/ext2fs.c                 |    6 +-
 36 files changed, 40 insertions(+), 11062 deletions(-)
 delete mode 100644 sys/gnu/vfs/Makefile
 delete mode 100644 sys/gnu/vfs/ext2fs/COPYRIGHT.INFO
 delete mode 100644 sys/gnu/vfs/ext2fs/Makefile
 delete mode 100644 sys/gnu/vfs/ext2fs/dinode.h
 delete mode 100644 sys/gnu/vfs/ext2fs/dir.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_alloc.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_balloc.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_bitops.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_bmap.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_extern.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_fs.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_fs_sb.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_ihash.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_inode.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_inode_cnv.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_linux_balloc.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_linux_ialloc.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_linux_super.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_lookup.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_mount.h
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_quota.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_readwrite.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_subr.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_vfsops.c
 delete mode 100644 sys/gnu/vfs/ext2fs/ext2_vnops.c
 delete mode 100644 sys/gnu/vfs/ext2fs/fs.h
 delete mode 100644 sys/gnu/vfs/ext2fs/inode.h
 delete mode 100644 sys/gnu/vfs/ext2fs/quota.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fcfd9e22061b8fa31303c1c21a9241afe7077238


-- 
DragonFly BSD source repository


More information about the Commits mailing list