]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ext4/mballoc.c
ext4: replace i_delalloc_reserved_flag with EXT4_STATE_DELALLOC_RESERVED
authorTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:12:36 +0000 (12:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:12:36 +0000 (12:12 -0500)
commitf232109773ff5b0c840a6761d74940b9cf0d66ec
treea32da5ebd1a3e074e9f52107f3bdc23babb6340c
parentad4fb9cafe100a4a9de6e0529015e584d94ac8dc
ext4: replace i_delalloc_reserved_flag with EXT4_STATE_DELALLOC_RESERVED

Remove the short element i_delalloc_reserved_flag from the
ext4_inode_info structure and replace it a new bit in i_state_flags.
Since we have an ext4_inode_info for every ext4 inode cached in the
inode cache, any savings we can produce here is a very good thing from
a memory utilization perspective.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/mballoc.c
fs/ext4/super.c