]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ext4: fold ext4_claim_inode into ext4_new_inode
authorTheodore Ts'o <tytso@mit.edu>
Tue, 7 Feb 2012 01:12:03 +0000 (20:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Feb 2012 01:12:03 +0000 (20:12 -0500)
commit119c0d4460b001e44b41dcf73dc6ee794b98bd31
tree55a278470454bf3a066eec7f807222782cc9b77d
parent62aa2b537c6f5957afd98e29f96897419ed5ebab
ext4: fold ext4_claim_inode into ext4_new_inode

The function ext4_claim_inode() is only called by one function,
ext4_new_inode(), and by folding the functionality into
ext4_new_inode(), we can remove almost 50 lines of code, and put all
of the logic of allocating a new inode into a single place.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ialloc.c