make nfsd_create_setattr() static
Subsystems (2)
PATCH 1/1 make nfsd_create_setattr() static
This patch makes the needlessly global nfsd_create_setattr() static.
Signed-off-by Adrian Bunk <[email protected]>
---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) {
J. Bruce Fields
AppliedQuoted 3 lines · Adrian Bunk
This patch makes the needlessly global
nfsd_create_setattr()static.Signed-off-by Adrian Bunk <[email protected]>
Thanks, applied.--b.
Quoted 16 lines
---
7cfb17a22a0cf76477fbf1fbe6bf586108a13a44diff --gita/fs/nfsd/vfs.cb/fs/nfsd/vfs.cindex cc75e4f..035204f 100644fs/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) {