Re: nobh_truncate_page question

2007-02-07 Thread Andrew Morton
On Thu, 08 Feb 2007 01:45:10 +0300 Dmitriy Monakhov <[EMAIL PROTECTED]> wrote: > Could some one please explain me what's happens with nobh_truncate_page? > > int nobh_truncate_page(struct address_space *mapping, loff_t from) > { > > if ((offset & (blocksize - 1)) == 0) >

nobh_truncate_page question

2007-02-07 Thread Dmitriy Monakhov
Could some one please explain me what's happens with nobh_truncate_page? int nobh_truncate_page(struct address_space *mapping, loff_t from) { if ((offset & (blocksize - 1)) == 0) goto out; ret = -ENOMEM; page = grab_cache_page(mapping, index); if

nobh_truncate_page question

2007-02-07 Thread Dmitriy Monakhov
Could some one please explain me what's happens with nobh_truncate_page? int nobh_truncate_page(struct address_space *mapping, loff_t from) { if ((offset (blocksize - 1)) == 0) goto out; ret = -ENOMEM; page = grab_cache_page(mapping, index); if

Re: nobh_truncate_page question

2007-02-07 Thread Andrew Morton
On Thu, 08 Feb 2007 01:45:10 +0300 Dmitriy Monakhov [EMAIL PROTECTED] wrote: Could some one please explain me what's happens with nobh_truncate_page? int nobh_truncate_page(struct address_space *mapping, loff_t from) { if ((offset (blocksize - 1)) == 0) goto