linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfsd: get rid of unused function definition
@ 2013-12-16  2:48 Kinglong Mee
  2013-12-19 18:55 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Kinglong Mee @ 2013-12-16  2:48 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: linux-nfs

commit 557ce2646e775f6bda734dd92b10d4780874b9c7 
"nfsd41: replace page based DRC with buffer based DRC"
have remove unused nfsd4_set_statp, but miss the function definition.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 fs/nfsd/cache.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h
index d5c5b3e..b582f9a 100644
--- a/fs/nfsd/cache.h
+++ b/fs/nfsd/cache.h
@@ -84,12 +84,4 @@ int	nfsd_cache_lookup(struct svc_rqst *);
 void	nfsd_cache_update(struct svc_rqst *, int, __be32 *);
 int	nfsd_reply_cache_stats_open(struct inode *, struct file *);
 
-#ifdef CONFIG_NFSD_V4
-void	nfsd4_set_statp(struct svc_rqst *rqstp, __be32 *statp);
-#else  /* CONFIG_NFSD_V4 */
-static inline void nfsd4_set_statp(struct svc_rqst *rqstp, __be32 *statp)
-{
-}
-#endif /* CONFIG_NFSD_V4 */
-
 #endif /* NFSCACHE_H */
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] nfsd: get rid of unused function definition
@ 2013-12-05  3:07 Kinglong Mee
  2013-12-05 14:57 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Kinglong Mee @ 2013-12-05  3:07 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: linux-nfs


Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 fs/nfsd/vfs.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
index a4be2e3..fd8c0cc 100644
--- a/fs/nfsd/vfs.h
+++ b/fs/nfsd/vfs.h
@@ -89,8 +89,6 @@ __be32		nfsd_link(struct svc_rqst *, struct svc_fh *,
 __be32		nfsd_rename(struct svc_rqst *,
 				struct svc_fh *, char *, int,
 				struct svc_fh *, char *, int);
-__be32		nfsd_remove(struct svc_rqst *,
-				struct svc_fh *, char *, int);
 __be32		nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type,
 				char *name, int len);
 __be32		nfsd_readdir(struct svc_rqst *, struct svc_fh *,
-- 
1.8.4.2

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

end of thread, other threads:[~2013-12-19 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16  2:48 [PATCH] nfsd: get rid of unused function definition Kinglong Mee
2013-12-19 18:55 ` J. Bruce Fields
  -- strict thread matches above, loose matches on Subject: below --
2013-12-05  3:07 Kinglong Mee
2013-12-05 14:57 ` 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;
as well as URLs for NNTP newsgroup(s).