lkml.org 
[lkml]   [2008]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Solved - How to change the FSINFO for nfsd?
From
Date
On Sat, 2008-05-17 at 20:25 +0200, Jan Engelhardt wrote:
> On Saturday 2008-05-17 19:57, P.V.Anthony wrote:
> > resp->f_properties = NFS3_FSF_DEFAULT;
> >
> > nfserr = fh_verify(rqstp, &argp->fh, 0, MAY_NOP);
> > @@ -570,7 +570,7 @@
> > if (sb->s_magic == 0x4d44 /* MSDOS_SUPER_MAGIC */) {
> > resp->f_properties = NFS3_FSF_BILLYBOY;
> > }
> > - resp->f_maxfilesize = sb->s_maxbytes;
> > + resp->f_maxfilesize = 0xffffffffffffffff;

This is plain wrong! Pretending that your filesystem supports 64-bit
files won't magically make it so.

Trond



\
 
 \ /
  Last update: 2008-05-17 20:39    [from the cache]
©2003-2011 Jasper Spaans