diff options
author | Daeho Jeong <daehojeong@google.com> | 2023-02-09 10:18:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-11 13:55:23 +0100 |
commit | 102b82708c1523b36d421cb8687746906069bc17 (patch) | |
tree | f64379a58a56aa930803e46d17ae85383ffc9032 /drivers/watchdog | |
parent | a02a91057652d98a1445808070ae5e968417741b (diff) | |
download | linux-102b82708c1523b36d421cb8687746906069bc17.tar.gz linux-102b82708c1523b36d421cb8687746906069bc17.tar.bz2 linux-102b82708c1523b36d421cb8687746906069bc17.zip |
f2fs: synchronize atomic write aborts
[ Upstream commit a46bebd502fe1a3bd1d22f64cedd93e7e7702693 ]
To fix a race condition between atomic write aborts, I use the inode
lock and make COW inode to be re-usable thoroughout the whole
atomic file inode lifetime.
Reported-by: syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com
Fixes: 3db1de0e582c ("f2fs: change the current atomic write way")
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions