[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANGUGtAF0CRzYOkjqCXvxukw99Y9G02Ht=DZ8viRHqThGHLSSQ@mail.gmail.com>
Date: Fri, 16 Nov 2012 08:45:25 +0100
From: Marco Stornelli <marco.stornelli@...il.com>
To: Jaegeuk Hanse <jaegeuk.hanse@...il.com>
Cc: Linux FS Devel <linux-fsdevel@...r.kernel.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 20/21] mm: drop vmtruncate
2012/11/16 Jaegeuk Hanse <jaegeuk.hanse@...il.com>:
> On 11/03/2012 05:32 PM, Marco Stornelli wrote:
>>
>> Removed vmtruncate
>
>
> Hi Marco,
>
> Could you explain me why vmtruncate need remove? What's the problem and how
> to substitute it?
>
> Regards,
> Jaegeuk
>
vmtruncate is a deprecated function so it'd be better to remove it.
The truncate sequence is changed for several reasons. The
documentation is clear: "This function is deprecated and
truncate_setsize or truncate_pagecache should be used instead,
together with filesystem specific block truncation." In addition, we
can remove the truncate callback from the inode struct saving 4/8
bytes.
Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists