ext4: improve code readability in ext4_iget()
authorLiu Song <liu.song11@zte.com.cn>
Thu, 2 Aug 2018 04:11:16 +0000 (00:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 Aug 2018 04:11:16 +0000 (00:11 -0400)
commitbc716523462f98ea6bfef3e1a5926daadbf32e9e
treea517b11b54edcae628c69c32899d68039f564664
parent1a5d5e5d51e75a5bca67dadbcea8c841934b7b85
ext4: improve code readability in ext4_iget()

Merge the duplicated complex conditions to improve code readability.

Signed-off-by: Liu Song <liu.song11@zte.com.cn>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
fs/ext4/inode.c