]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove unused metadata accounting variables
authorEric Whitney <enwlinux@gmail.com>
Mon, 31 Jul 2017 02:30:11 +0000 (22:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 31 Jul 2017 02:30:11 +0000 (22:30 -0400)
commit267528df0099bbb827178034903a1d27db525618
tree3da42bb94503adce361b00d8dae833c106f8b89a
parent3c173c905a58932d8adf2fbdb0f571e66e4f9cd5
ext4: remove unused metadata accounting variables

Two variables in ext4_inode_info, i_reserved_meta_blocks and
i_allocated_meta_blocks, are unused.  Removing them saves a little
memory per in-memory inode and cleans up clutter in several tracepoints.
Adjust tracepoint output from ext4_alloc_da_blocks() for consistency
and fix a typo and whitespace near these changes.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/ext4.h
fs/ext4/super.c
include/trace/events/ext4.h