]> git.baikalelectronics.ru Git - kernel.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)
commit53d4bffedfa9b4c53a31228bcb7639561df339e3
tree55a278470454bf3a066eec7f807222782cc9b77d
parent5c4f9418d44bb5dea9aa3f015ada895716303915
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