]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: inline data inode fast commit replay fixes
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Fri, 15 Oct 2021 18:25:13 +0000 (11:25 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Nov 2021 14:34:39 +0000 (10:34 -0400)
commit873040dbaa48d997d78a64d603154703a72b9547
treee40e09433596daca12c0d13632d584fc55b31b7e
parent944b3baf24e2d274a3acc292b0fc8a42e5ee9367
ext4: inline data inode fast commit replay fixes

Since there are no blocks in an inline data inode, there's no point in
fixing iblocks field in fast commit replay path for this inode.
Similarly, there's no point in fixing any block bitmaps / global block
counters with respect to such an inode. Just bail out from these
functions if an inline data inode is encountered.

Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20211015182513.395917-2-harshads@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/fast_commit.c