lkml.org 
[lkml]   [2007]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC 4/8] Enhance fallback functions in libs to support higher order pages
    On 4/19/07, Christoph Lameter <clameter@sgi.com> wrote:
    > @@ -331,11 +331,15 @@ int simple_prepare_write(struct file *fi
    > unsigned from, unsigned to)
    > {
    > if (!PageUptodate(page)) {
    > - if (to - from != PAGE_CACHE_SIZE) {
    > + if (to - from != page_cache_size(file->f_mapping)) {

    Where do you introduce page_cache_size()? Is this added by a
    different set of patches I should have applied first?

    --
    Adam Litke ( agl at us.ibm.com )
    IBM Linux Technology Center
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-19 20:51    [W:6.045 / U:0.136 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site