diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-27 09:34:43 -0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 13:55:07 -0400 |
commit | 1208ef1f76540b621f80e6130c4fb7bed8ece360 (patch) | |
tree | 65edaf646b06ba93ffe2a0ee4a98e7b9378bb59f /fs/cifs/cifsproto.h | |
parent | 2503a0dba989486c59523a947a1dcb50ad90fee9 (diff) |
CIFS: Move query inode info code to ops struct
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 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index b9967adeaa9e..8e93de01c79d 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -138,11 +138,9 @@ extern struct inode *cifs_iget(struct super_block *sb, | |||
138 | struct cifs_fattr *fattr); | 138 | struct cifs_fattr *fattr); |
139 | 139 | ||
140 | extern int cifs_get_file_info(struct file *filp); | 140 | extern int cifs_get_file_info(struct file *filp); |
141 | extern int cifs_get_inode_info(struct inode **pinode, | 141 | extern int cifs_get_inode_info(struct inode **inode, const char *full_path, |
142 | const unsigned char *search_path, | 142 | FILE_ALL_INFO *data, struct super_block *sb, |
143 | FILE_ALL_INFO *pfile_info, | 143 | int xid, const __u16 *fid); |
144 | struct super_block *sb, unsigned int xid, | ||
145 | const __u16 *pfid); | ||
146 | extern int cifs_get_file_info_unix(struct file *filp); | 144 | extern int cifs_get_file_info_unix(struct file *filp); |
147 | extern int cifs_get_inode_info_unix(struct inode **pinode, | 145 | extern int cifs_get_inode_info_unix(struct inode **pinode, |
148 | const unsigned char *search_path, | 146 | const unsigned char *search_path, |
@@ -376,9 +374,9 @@ extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms, | |||
376 | unsigned int *nbytes, struct kvec *iov, const int nvec, | 374 | unsigned int *nbytes, struct kvec *iov, const int nvec, |
377 | const int long_op); | 375 | const int long_op); |
378 | extern int CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon, | 376 | extern int CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon, |
379 | const unsigned char *searchName, __u64 *inode_number, | 377 | const char *search_name, __u64 *inode_number, |
380 | const struct nls_table *nls_codepage, | 378 | const struct nls_table *nls_codepage, |
381 | int remap_special_chars); | 379 | int remap); |
382 | 380 | ||
383 | extern int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon, | 381 | extern int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon, |
384 | const __u16 netfid, const __u8 lock_type, | 382 | const __u16 netfid, const __u8 lock_type, |