[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131007131430.GB4540@thunk.org>
Date: Mon, 7 Oct 2013 09:14:30 -0400
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 07/31] libext2fs: When writing a file that has a i_size >
2GB, set the large_file feature flag and update the superblock.
On Mon, Sep 30, 2013 at 06:27:28PM -0700, Darrick J. Wong wrote:
> If someone tries to write a file that is larger than 2GB, we need to set the
> large_file feature flag to affirm that i_size_hi can hold meaningful contents.
> (I don't see anything checking large_file except e2fsck...)
The large_file feature is there to protect ancient (2.2?) kernels that
didn't understand large files. It's largely not needed in modern
kernels, which all understand it.
Still this patch is good for correctness; thanks for pointing it out!
Thanks, applied.
- 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