]> git.kernelconcepts.de Git - karo-tx-linux.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)
commita627b0a7c15ee4d2c87a86d5be5c8167382e8d0d
tree3da42bb94503adce361b00d8dae833c106f8b89a
parent1e21196c8e3e210cbef130e23e40c4adc3d9ce10
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