[PATCH] Fix BSR to allow mmap of small BSR on 64k kernel

Paul Mackerras paulus at samba.org
Thu Nov 20 09:54:21 EST 2008


Sonny Rao writes:

> On Wed, Nov 19, 2008 at 03:07:04PM +1100, Paul Mackerras wrote:
> > I think we should be checking that dev->bsr_len == 4096 here.
> > 
> > Paul.
> 
> Well, dev->bsr_len could be 4096 or 8192

Isn't the dev->bsr_len == 8192 case the one where we'll only map 4096
bytes and therefore not do what the user expected?  Sounds to me like
we want to return an error for that case.

Paul.



More information about the Linuxppc-dev mailing list