Commit 976db2f4 authored by Darrick J. Wong's avatar Darrick J. Wong Committed by Laibin Qiu
Browse files

vfs: make freeze_super abort when sync_filesystem returns error



stable inclusion
from linux-4.19.231
commit d5c33270b8b2c274eb8df7b92d166166102528c6

--------------------------------

[ Upstream commit 2719c716 ]

If we fail to synchronize the filesystem while preparing to freeze the
fs, abort the freeze.

Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
Signed-off-by: default avatarLaibin Qiu <qiulaibin@huawei.com>
parent fa03a2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment