vfs.h (73ca65904c5abaa29b8d9699089292239564300f) | vfs.h (4ac7249ea5a0ceef9f8269f63f33cc873c3fac61) |
---|---|
1/* 2 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> 3 */ 4 5#ifndef LINUX_NFSD_VFS_H 6#define LINUX_NFSD_VFS_H 7 8#include "nfsfh.h" --- 38 unchanged lines hidden (view full) --- 47 const char *, unsigned int, struct svc_fh *); 48__be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *, 49 const char *, unsigned int, 50 struct svc_export **, struct dentry **); 51__be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *, 52 struct iattr *, int, time_t); 53int nfsd_mountpoint(struct dentry *, struct svc_export *); 54#ifdef CONFIG_NFSD_V4 | 1/* 2 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> 3 */ 4 5#ifndef LINUX_NFSD_VFS_H 6#define LINUX_NFSD_VFS_H 7 8#include "nfsfh.h" --- 38 unchanged lines hidden (view full) --- 47 const char *, unsigned int, struct svc_fh *); 48__be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *, 49 const char *, unsigned int, 50 struct svc_export **, struct dentry **); 51__be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *, 52 struct iattr *, int, time_t); 53int nfsd_mountpoint(struct dentry *, struct svc_export *); 54#ifdef CONFIG_NFSD_V4 |
55__be32 nfsd4_set_nfs4_acl(struct svc_rqst *, struct svc_fh *, 56 struct nfs4_acl *); 57int nfsd4_get_nfs4_acl(struct svc_rqst *, struct dentry *, struct nfs4_acl **); | |
58__be32 nfsd4_set_nfs4_label(struct svc_rqst *, struct svc_fh *, 59 struct xdr_netobj *); 60#endif /* CONFIG_NFSD_V4 */ 61__be32 nfsd_create(struct svc_rqst *, struct svc_fh *, 62 char *name, int len, struct iattr *attrs, 63 int type, dev_t rdev, struct svc_fh *res); 64#ifdef CONFIG_NFSD_V3 65__be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *); --- 18 unchanged lines hidden (view full) --- 84__be32 nfsd_symlink(struct svc_rqst *, struct svc_fh *, 85 char *name, int len, char *path, int plen, 86 struct svc_fh *res, struct iattr *); 87__be32 nfsd_link(struct svc_rqst *, struct svc_fh *, 88 char *, int, struct svc_fh *); 89__be32 nfsd_rename(struct svc_rqst *, 90 struct svc_fh *, char *, int, 91 struct svc_fh *, char *, int); | 55__be32 nfsd4_set_nfs4_label(struct svc_rqst *, struct svc_fh *, 56 struct xdr_netobj *); 57#endif /* CONFIG_NFSD_V4 */ 58__be32 nfsd_create(struct svc_rqst *, struct svc_fh *, 59 char *name, int len, struct iattr *attrs, 60 int type, dev_t rdev, struct svc_fh *res); 61#ifdef CONFIG_NFSD_V3 62__be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *); --- 18 unchanged lines hidden (view full) --- 81__be32 nfsd_symlink(struct svc_rqst *, struct svc_fh *, 82 char *name, int len, char *path, int plen, 83 struct svc_fh *res, struct iattr *); 84__be32 nfsd_link(struct svc_rqst *, struct svc_fh *, 85 char *, int, struct svc_fh *); 86__be32 nfsd_rename(struct svc_rqst *, 87 struct svc_fh *, char *, int, 88 struct svc_fh *, char *, int); |
89__be32 nfsd_remove(struct svc_rqst *, 90 struct svc_fh *, char *, int); |
|
92__be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type, 93 char *name, int len); 94__be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *, 95 loff_t *, struct readdir_cd *, filldir_t); 96__be32 nfsd_statfs(struct svc_rqst *, struct svc_fh *, 97 struct kstatfs *, int access); 98 99__be32 nfsd_permission(struct svc_rqst *, struct svc_export *, 100 struct dentry *, int); 101 | 91__be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type, 92 char *name, int len); 93__be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *, 94 loff_t *, struct readdir_cd *, filldir_t); 95__be32 nfsd_statfs(struct svc_rqst *, struct svc_fh *, 96 struct kstatfs *, int access); 97 98__be32 nfsd_permission(struct svc_rqst *, struct svc_export *, 99 struct dentry *, int); 100 |
102#if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL) 103struct posix_acl *nfsd_get_posix_acl(struct svc_fh *, int); 104int nfsd_set_posix_acl(struct svc_fh *, int, struct posix_acl *); 105#endif 106 | |
107static inline int fh_want_write(struct svc_fh *fh) 108{ 109 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); 110 111 if (!ret) 112 fh->fh_want_write = 1; 113 return ret; 114} --- 17 unchanged lines hidden --- | 101static inline int fh_want_write(struct svc_fh *fh) 102{ 103 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); 104 105 if (!ret) 106 fh->fh_want_write = 1; 107 return ret; 108} --- 17 unchanged lines hidden --- |