[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110607173736.GC30037@thunk.org>
Date: Tue, 7 Jun 2011 13:37:36 -0400
From: Ted Ts'o <tytso@....edu>
To: Eric Sandeen <sandeen@...hat.com>
Cc: Andreas Dilger <adilger@...mcloud.com>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] mke2fs: Don't erase flash device if "-n" is given
On Tue, Jun 07, 2011 at 11:58:40AM -0500, Eric Sandeen wrote:
> On 6/7/11 11:22 AM, Andreas Dilger wrote:
> > If "mke2fs -n" is used, there should be no changes to the underlying
> > device. Unfortunately, when the "discard" option was added in commit
> > c7cd908be59f48c66b4f3ac9a631ffe3dde4f1ab, it did not check for the "-n"
> > flag, and will discard all data on a flash device even if "-n" is given.
>
> Oh, crud.
I guess that means we should probably release e2fsprogs 1.41.15.
> > Check for the "noaction" flag before discarding any filesystem data.
> >
> > Signed-off-by: Andreas Dilger <adilger@...mcloud.com>
>
> Reviewed-by: Eric Sandeen <sandeen@...hat.com>
Added to the maint branch, thanks.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists