public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make nfsd_create_setattr() static
@ 2008-02-13 21:30 Adrian Bunk
  2008-02-13 21:38 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
  To: J. Bruce Fields, neilb; +Cc: linux-nfs, linux-kernel

This patch makes the needlessly global nfsd_create_setattr() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
7cfb17a22a0cf76477fbf1fbe6bf586108a13a44 diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index cc75e4f..035204f 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -1151,7 +1151,7 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp,
 }
 #endif /* CONFIG_NFSD_V3 */
 
-__be32
+static __be32
 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *resfhp,
 			struct iattr *iap)
 {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make nfsd_create_setattr() static
  2008-02-13 21:30 [2.6 patch] make nfsd_create_setattr() static Adrian Bunk
@ 2008-02-13 21:38 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2008-02-13 21:38 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: neilb, linux-nfs, linux-kernel

On Wed, Feb 13, 2008 at 11:30:26PM +0200, Adrian Bunk wrote:
> This patch makes the needlessly global nfsd_create_setattr() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Thanks, applied.--b.

> 
> ---
> 7cfb17a22a0cf76477fbf1fbe6bf586108a13a44 diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
> index cc75e4f..035204f 100644
> --- a/fs/nfsd/vfs.c
> +++ b/fs/nfsd/vfs.c
> @@ -1151,7 +1151,7 @@ nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp,
>  }
>  #endif /* CONFIG_NFSD_V3 */
>  
> -__be32
> +static __be32
>  nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *resfhp,
>  			struct iattr *iap)
>  {
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-13 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make nfsd_create_setattr() static Adrian Bunk
2008-02-13 21:38 ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox