git: sys/gnu/vfs/ext2fs: Don't define buffer_head

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu May 28 08:11:24 PDT 2015


commit 3c666afb24469b59c1bf96d2cee19d3172577daa
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu May 28 23:16:25 2015 +0900

    sys/gnu/vfs/ext2fs: Don't define buffer_head
    
    - Remove '#define buffer_head buf'.
    
    - BSD's ext2 implementation is based on UFS (i.e. copy + rename) rather
      than the original ext2, so there isn't really any reason to make the
      code and data structures look like Linux kernel. FreeBSD doesn't have
      this rename (anymore) either.
    
    - (Note that dfly's ext2 seems to be broken currently)

Summary of changes:
 sys/gnu/vfs/ext2fs/ext2_fs_sb.h        |  9 ++++-----
 sys/gnu/vfs/ext2fs/ext2_linux_balloc.c | 16 ++++++++--------
 sys/gnu/vfs/ext2fs/ext2_linux_ialloc.c | 16 ++++++++--------
 3 files changed, 20 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c666afb24469b59c1bf96d2cee19d3172577daa


-- 
DragonFly BSD source repository


More information about the Commits mailing list