Commit [556615]  Maximize  Restore  History

ext4: rename uninitialized extents to unwritten

Currently in ext4 there is quite a mess when it comes to naming
unwritten extents. Sometimes we call it uninitialized and sometimes we
refer to it as unwritten.

The right name for the extent which has been allocated but does not
contain any written data is _unwritten_. Other file systems are
using this name consistently, even the buffer head state refers to it as
unwritten. We need to fix this confusion in ext4.

This commit changes every reference to an uninitialized extent (meaning
allocated but unwritten) to unwritten extent. This includes comments,
function names and variable names. It even covers abbreviation of the
word uninitialized (such as uninit) and some misspellings.

This commit does not change any of the code paths at all. This has been
confirmed by comparing md5sums of the assembly code of each object file
after all the function names were stripped from it.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

Lukas Czerner Lukas Czerner 2014-04-21

Theodore Ts'o Theodore Ts'o 2014-04-21

changed fs/ext4/ext4.h
changed fs/ext4/ext4_extents.h
changed fs/ext4/extents.c
changed fs/ext4/extents_status.c
changed fs/ext4/file.c
changed fs/ext4/inode.c
changed fs/ext4/move_extent.c
changed fs/ext4/super.c
changed include/trace/events/ext4.h
fs/ext4/ext4.h Diff Switch to side-by-side view
Loading...
fs/ext4/ext4_extents.h Diff Switch to side-by-side view
Loading...
fs/ext4/extents.c Diff Switch to side-by-side view
Loading...
fs/ext4/extents_status.c Diff Switch to side-by-side view
Loading...
fs/ext4/file.c Diff Switch to side-by-side view
Loading...
fs/ext4/inode.c Diff Switch to side-by-side view
Loading...
fs/ext4/move_extent.c Diff Switch to side-by-side view
Loading...
fs/ext4/super.c Diff Switch to side-by-side view
Loading...
include/trace/events/ext4.h Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks