ext4: stop inode update before return
authorPan Bian <bianpan2016@163.com>
Sun, 17 Jan 2021 08:57:32 +0000 (00:57 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 21 Mar 2021 04:42:12 +0000 (00:42 -0400)
commit512c15ef05d73a04f1aef18a3bc61a8bb516f323
treea07486905a2312bb0d0ba14019c01989a5d0780c
parent8210bb29c1b66200cff7b25febcf6e39baf49fbf
ext4: stop inode update before return

The inode update should be stopped before returing the error code.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210117085732.93788-1-bianpan2016@163.com
Fixes: 8016e29f4362 ("ext4: fast commit recovery path")
Cc: stable@kernel.org
Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c