Re: [PATCH 4/7][TAKE5] support new modes in fallocate

Nathan Scott
2007-06-28T23:40:50Z

On Thu, 2007-06-28 at 23:49 +0530, Amit K. Arora wrote:
>
> > Correct, but for swap files that's not an issue - no user should be
> able
> > too read them, and FA_MKSWAP would really need root privileges to
> execute.
>
> Will the FA_MKSWAP mode still be required with your suggested change
> of
> teaching do_mpage_readpage() about unwritten extents being in place ?
> Or, will you still like to have FA_MKSWAP mode ?

There's no need for a MKSWAP flag.

cheers.

--
Nathan