diff options
author | Zhao Hongjiang <zhaohongjiang@huawei.com> | 2013-05-03 06:08:24 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-05-13 10:11:44 -0400 |
commit | eb48241bb4484e56171fcb5beb39f530a2cd484e (patch) | |
tree | d73c18d9046c914c548f753f8afd8ad1cd316b0b /fs/nfsd/vfs.h | |
parent | 4488cc96c581f130f3e86283d514123dce0dd46b (diff) |
nfsd: get rid of the unused functions in vfs
The fh_lock_parent(), nfsd_truncate(), nfsd_notify_change() and
nfsd_sync_dir() fuctions are neither implemented nor used, just remove
them.
Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/vfs.h')
-rw-r--r-- | fs/nfsd/vfs.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h index 5b5894159f22..8d2b40d71669 100644 --- a/fs/nfsd/vfs.h +++ b/fs/nfsd/vfs.h | |||
@@ -39,7 +39,6 @@ | |||
39 | typedef int (*nfsd_dirop_t)(struct inode *, struct dentry *, int, int); | 39 | typedef int (*nfsd_dirop_t)(struct inode *, struct dentry *, int, int); |
40 | 40 | ||
41 | /* nfsd/vfs.c */ | 41 | /* nfsd/vfs.c */ |
42 | int fh_lock_parent(struct svc_fh *, struct dentry *); | ||
43 | int nfsd_racache_init(int); | 42 | int nfsd_racache_init(int); |
44 | void nfsd_racache_shutdown(void); | 43 | void nfsd_racache_shutdown(void); |
45 | int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, | 44 | int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, |
@@ -92,17 +91,13 @@ __be32 nfsd_remove(struct svc_rqst *, | |||
92 | struct svc_fh *, char *, int); | 91 | struct svc_fh *, char *, int); |
93 | __be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type, | 92 | __be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type, |
94 | char *name, int len); | 93 | char *name, int len); |
95 | int nfsd_truncate(struct svc_rqst *, struct svc_fh *, | ||
96 | unsigned long size); | ||
97 | __be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *, | 94 | __be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *, |
98 | loff_t *, struct readdir_cd *, filldir_t); | 95 | loff_t *, struct readdir_cd *, filldir_t); |
99 | __be32 nfsd_statfs(struct svc_rqst *, struct svc_fh *, | 96 | __be32 nfsd_statfs(struct svc_rqst *, struct svc_fh *, |
100 | struct kstatfs *, int access); | 97 | struct kstatfs *, int access); |
101 | 98 | ||
102 | int nfsd_notify_change(struct inode *, struct iattr *); | ||
103 | __be32 nfsd_permission(struct svc_rqst *, struct svc_export *, | 99 | __be32 nfsd_permission(struct svc_rqst *, struct svc_export *, |
104 | struct dentry *, int); | 100 | struct dentry *, int); |
105 | int nfsd_sync_dir(struct dentry *dp); | ||
106 | 101 | ||
107 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) | 102 | #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) |
108 | struct posix_acl *nfsd_get_posix_acl(struct svc_fh *, int); | 103 | struct posix_acl *nfsd_get_posix_acl(struct svc_fh *, int); |