]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext4: rename uninitialized extents to unwritten
authorLukas Czerner <lczerner@redhat.com>
Mon, 21 Apr 2014 03:45:47 +0000 (23:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Apr 2014 03:45:47 +0000 (23:45 -0400)
commit556615dcbf38b0a92a9e659f52c06686270dfc16
tree33a336cd219fc4386b811a9ffb03d3f6a79d7185
parent090f32ee4ef0a59c738963c6b0a6948cc5dee84c
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>
fs/ext4/ext4.h
fs/ext4/ext4_extents.h
fs/ext4/extents.c
fs/ext4/extents_status.c
fs/ext4/file.c
fs/ext4/inode.c
fs/ext4/move_extent.c
fs/ext4/super.c
include/trace/events/ext4.h