Skip to contentSkip to conversation

make nfsd_create_setattr() static

PATCH Applied Adrian Bunk 2 participants 2 messages Feb 13, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make nfsd_create_setattr() static

This patch makes the needlessly global nfsd_create_setattr() static.

---
7cfb17a22a0cf76477fbf1fbe6bf586108a13a44 diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index cc75e4f..035204f 100644

fs/nfsd/vfs.c +1 -1
@@ -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)
 {
#1 lore raw
Quoted 3 lines · Adrian Bunk

This patch makes the needlessly global nfsd_create_setattr() static.

Thanks, applied.--b.

Quoted 16 lines

---
7cfb17a22a0cf76477fbf1fbe6bf586108a13a44 diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index cc75e4f..035204f 100644

fs/nfsd/vfs.c +1 -1
@@ -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)
 {