[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <58ea6b856874446c85c6c302016f9a61@AcuMS.aculab.com>
Date: Wed, 24 May 2023 14:25:11 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Jan Kara' <jack@...e.cz>, Amir Goldstein <amir73il@...il.com>
CC: Ted Tso <tytso@....edu>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
"Darrick J. Wong" <djwong@...nel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: RE: [PATCH] ext4: Fix possible corruption when moving a directory
with RENAME_EXCHANGE
From: Jan Kara
> Sent: 24 May 2023 15:19
....
> Right, so this case indeed looks possible and I didn't think about it.
> Thanks for spotting this! Let me try to persuade Al again to do the
> necessary locking in VFS as it is getting really hairy and needs VFS
> changes anyway.
I think it was NetBSD that started using a global lock for
non-trival renames because otherwise it is all 'just too hard'.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists