diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:25 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:26 -0400 |
commit | ed6875e0d6c28e4a6b44da04d6d4363b3d92d630 (patch) | |
tree | 9a5aa48100f62ed65319950689e911cb702abbaa /fs/cifs/cifsproto.h | |
parent | 56d27adcb536b7430d5f8a6240df8ad261eb00bd (diff) |
CIFS: Move unlink code to ops struct
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index f1bbf8305d3a..79c088469757 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -144,6 +144,11 @@ extern int cifs_get_file_info_unix(struct file *filp); | |||
144 | extern int cifs_get_inode_info_unix(struct inode **pinode, | 144 | extern int cifs_get_inode_info_unix(struct inode **pinode, |
145 | const unsigned char *search_path, | 145 | const unsigned char *search_path, |
146 | struct super_block *sb, unsigned int xid); | 146 | struct super_block *sb, unsigned int xid); |
147 | extern int cifs_set_file_info(struct inode *inode, struct iattr *attrs, | ||
148 | unsigned int xid, char *full_path, __u32 dosattr); | ||
149 | extern int cifs_rename_pending_delete(const char *full_path, | ||
150 | struct dentry *dentry, | ||
151 | const unsigned int xid); | ||
147 | extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb, | 152 | extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb, |
148 | struct cifs_fattr *fattr, struct inode *inode, | 153 | struct cifs_fattr *fattr, struct inode *inode, |
149 | const char *path, const __u16 *pfid); | 154 | const char *path, const __u16 *pfid); |
@@ -303,9 +308,7 @@ extern int CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, | |||
303 | const struct nls_table *nls_codepage, | 308 | const struct nls_table *nls_codepage, |
304 | int remap_special_chars); | 309 | int remap_special_chars); |
305 | extern int CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, | 310 | extern int CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, |
306 | const char *name, | 311 | const char *name, struct cifs_sb_info *cifs_sb); |
307 | const struct nls_table *nls_codepage, | ||
308 | int remap_special_chars); | ||
309 | extern int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon, | 312 | extern int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon, |
310 | const char *fromName, const char *toName, | 313 | const char *fromName, const char *toName, |
311 | const struct nls_table *nls_codepage, | 314 | const struct nls_table *nls_codepage, |