[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YzWpv8ZKJ7BrOBsg@mit.edu>
Date: Thu, 29 Sep 2022 10:20:47 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Marc Aurèle La France <tsi@...oix.net>
Cc: Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ext4: Register ext[23] support only after successful
ext4 registration
On Wed, Aug 10, 2022 at 02:20:45PM -0600, Marc Aurèle La France wrote:
> Register ext4 as a "replacement" for ext2 and ext3 only after ext4 itself has
> been successfully registered. As a side effect, this allows
> unregister_as_ext[23]() to be inlined.
The corrent ordering is deliberate; it allows file systems that have
ext2 and ext3 only file system features will be reported as using ext2
and ext3 in /proc/mounts. This doesn't matter quite as much, but it
could potentially break userspace if a legacy file system that only
has ext2 file system features is mounted and reported as ext4.
So sorry, I can't take this change.
- Ted
Powered by blists - more mailing lists