This is a note to let you know that I've just added the patch titled ext4: stop inode update before return to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: ext4-stop-inode-update-before-return.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 512c15ef05d73a04f1aef18a3bc61a8bb516f323 Mon Sep 17 00:00:00 2001 From: Pan Bian <bianpan2016@xxxxxxx> Date: Sun, 17 Jan 2021 00:57:32 -0800 Subject: ext4: stop inode update before return From: Pan Bian <bianpan2016@xxxxxxx> commit 512c15ef05d73a04f1aef18a3bc61a8bb516f323 upstream. The inode update should be stopped before returing the error code. Signed-off-by: Pan Bian <bianpan2016@xxxxxxx> Link: https://lore.kernel.org/r/20210117085732.93788-1-bianpan2016@xxxxxxx Fixes: 8016e29f4362 ("ext4: fast commit recovery path") Cc: stable@xxxxxxxxxx Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@xxxxxxxxx> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/ext4/inode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -5385,8 +5385,10 @@ int ext4_setattr(struct dentry *dentry, inode->i_gid = attr->ia_gid; error = ext4_mark_inode_dirty(handle, inode); ext4_journal_stop(handle); - if (unlikely(error)) + if (unlikely(error)) { + ext4_fc_stop_update(inode); return error; + } } if (attr->ia_valid & ATTR_SIZE) { Patches currently in stable-queue which might be from bianpan2016@xxxxxxx are queue-5.10/ext4-stop-inode-update-before-return.patch