Bug 143345 - [ext2fs] [patch] extfs minor header cleanups to better match NetBSD/UFS
Summary: [ext2fs] [patch] extfs minor header cleanups to better match NetBSD/UFS
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 15:00 UTC by Pedro F. Giffuni
Modified: 2011-01-02 11:02 UTC (History)
0 users

See Also:


Attachments
file.diff (4.87 KB, patch)
2010-01-29 15:00 UTC, Pedro F. Giffuni
no flags Details | Diff
patch-ext2fs-headers (3.64 KB, application/octet-stream)
2010-03-29 02:58 UTC, Pedro F. Giffuni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2010-01-29 15:00:19 UTC
Some changes in the headers for better compatibility with NetBSD:

- Move special inode numbers from ext2fs.h to ext2_dinode.h
- Re-sort ext2_dinode.h to make more consistent with the NetBSD
 (UFS derived) file.
- Minor re-sort to ext2fs.h to better match the NetBSD equivalent.
- Add the prealloc fields to the superblock struct as in NetBSD.
- Add one more compat definition as in NetBSD rev. 1.29
- Cleanup #endif comments

These changes have no effect on the fs code but are important for
porting the userland utilities (fsck and newfs) from NetBSD.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-01-29 18:48:20 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Pedro F. Giffuni 2010-03-29 02:58:57 UTC
I simplified the patch by avoiding unnecessary changes.
 


      
Comment 3 Pedro F. Giffuni 2010-12-31 16:06:49 UTC
Please close: this has been superceeded by PR 153584.
Comment 4 Jaakko Heinonen freebsd_committer freebsd_triage 2011-01-02 11:02:48 UTC
State Changed
From-To: open->closed

Closed at submitter's request. Superseded by kern/153584.