]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: move extra inode read to a new function
authorTao Ma <boyu.mt@taobao.com>
Sun, 2 Dec 2012 16:13:24 +0000 (11:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 2 Dec 2012 16:13:24 +0000 (11:13 -0500)
commita5758f80a423803068ef47c1ace86414fb8a1b78
tree1994854df5b26d74705b36d3dd3771c8e4b714ea
parent7748c0984db6544800c87bd121073ca37cf0ed63
ext4: move extra inode read to a new function

Currently, in ext4_iget we do a simple check to see whether
there does exist some information starting from the end
of i_extra_size. With inline data added, this procedure
is more complicated. So move it to a new function named
ext4_iget_extra_inode.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c