login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
17
Re: Solved - How to change the FSINFO for nfsd?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jan Engelhardt <jengelh@...>
To: P.V.Anthony <pvantony@...>
Cc: J. Bruce Fields <bfields@...>, <linux-kernel@...>
Subject:
Re: Solved - How to change the FSINFO for nfsd?
Date: Saturday, May 17, 2008 - 2:25 pm
On Saturday 2008-05-17 19:57, P.V.Anthony wrote:
quoted text
> > pv at videoserver2 ~ $ diff -ruN > /usr/src/linux-2.6.22-gentoo-r8/fs/nfsd/nfs3proc.c.org > /usr/src/linux-2.6.22-gentoo-r8/fs/nfsd/nfs3proc.c > --- /usr/src/linux-2.6.22-gentoo-r8/fs/nfsd/nfs3proc.c.org 2008-05-09 > 13:07:19.000000000 +0800 > +++ /usr/src/linux-2.6.22-gentoo-r8/fs/nfsd/nfs3proc.c 2008-05-13 > 23:54:56.000000000 +0800 > @@ -555,7 +555,7 @@ > resp->f_wtpref = max_blocksize; > resp->f_wtmult = PAGE_SIZE; > resp->f_dtpref = PAGE_SIZE; > - resp->f_maxfilesize = ~(u32) 0; > + resp->f_maxfilesize = 0xffffffffffffffff;
Hm, you could have just changed u32 to u64 :-)
quoted text
> 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; > } >
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
How to change the FSINFO for nfsd?
, P.V.Anthony
, (Thu May 8, 1:05 pm)
Re: How to change the FSINFO for nfsd?
, J. Bruce Fields
, (Fri May 9, 12:22 am)
Re: Solved - How to change the FSINFO for nfsd?
, P.V.Anthony
, (Sat May 17, 1:57 pm)
Re: Solved - How to change the FSINFO for nfsd?
, Jan Engelhardt
, (Sat May 17, 2:25 pm)
Re: Solved - How to change the FSINFO for nfsd?
, Trond Myklebust
, (Sat May 17, 2:36 pm)
Re: Solved - How to change the FSINFO for nfsd?
, J. Bruce Fields
, (Mon May 19, 1:24 pm)
Re: Solved - How to change the FSINFO for nfsd?
, P.V.Anthony
, (Tue May 20, 4:15 am)
Re: Solved - How to change the FSINFO for nfsd?
, Trond Myklebust
, (Tue May 20, 9:12 am)
Re: Solved - How to change the FSINFO for nfsd?
, P.V.Anthony
, (Mon May 19, 1:59 pm)
Re: How to change the FSINFO for nfsd?
, P.V.Anthony
, (Sun May 11, 12:44 pm)
Re: How to change the FSINFO for nfsd?
, Bernd Eckenfels
, (Sun May 11, 1:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
548 guests
online.
Online users
elinga30
Syndicate