git: sys/gnu/vfs/ext2fs: Isolate Linux kernel code (just like other files do)
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Mon Jun 15 06:14:15 PDT 2015
commit 1284f18423f33e578f2deb8251363b858d28bec7
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Mon Jun 15 04:12:09 2015 +0900
sys/gnu/vfs/ext2fs: Isolate Linux kernel code (just like other files do)
- dfly ext2 isolates code directly from Linux to separate files.
This commit isolates two functions that are not isolated.
- Isolate functions ext2_check_descriptors() and ext2_statfs()
to ext2fs/ext2_linux_super.c as these two are directly from
fs/ext2/super.c (and comments say so).
- grep "Remy Card" to find out which files are from Linux kernel.
# grep "Remy Card" sys/gnu/vfs/ext2fs -rIl
sys/gnu/vfs/ext2fs/ext2_fs_sb.h
sys/gnu/vfs/ext2fs/ext2_fs.h
sys/gnu/vfs/ext2fs/ext2_linux_ialloc.c
sys/gnu/vfs/ext2fs/ext2_linux_balloc.c
sys/gnu/vfs/ext2fs/ext2_linux_super.c
Summary of changes:
sys/gnu/vfs/ext2fs/Makefile | 2 +-
sys/gnu/vfs/ext2fs/ext2_extern.h | 4 +
sys/gnu/vfs/ext2fs/ext2_linux_super.c | 133 ++++++++++++++++++++++++++++++++++
sys/gnu/vfs/ext2fs/ext2_vfsops.c | 106 ---------------------------
4 files changed, 138 insertions(+), 107 deletions(-)
create mode 100644 sys/gnu/vfs/ext2fs/ext2_linux_super.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1284f18423f33e578f2deb8251363b858d28bec7
--
DragonFly BSD source repository
More information about the Commits
mailing list