.. | .. |
---|
51 | 51 | return (unsigned long) dentry->d_fsdata; |
---|
52 | 52 | } |
---|
53 | 53 | |
---|
54 | | -extern struct file_system_type cifs_fs_type; |
---|
| 54 | +extern struct file_system_type cifs_fs_type, smb3_fs_type; |
---|
55 | 55 | extern const struct address_space_operations cifs_addr_ops; |
---|
56 | 56 | extern const struct address_space_operations cifs_addr_ops_smallbuf; |
---|
57 | 57 | |
---|
.. | .. |
---|
84 | 84 | extern int cifs_zap_mapping(struct inode *inode); |
---|
85 | 85 | extern int cifs_getattr(const struct path *, struct kstat *, u32, unsigned int); |
---|
86 | 86 | extern int cifs_setattr(struct dentry *, struct iattr *); |
---|
| 87 | +extern int cifs_fiemap(struct inode *, struct fiemap_extent_info *, u64 start, |
---|
| 88 | + u64 len); |
---|
87 | 89 | |
---|
88 | 90 | extern const struct inode_operations cifs_file_inode_ops; |
---|
89 | 91 | extern const struct inode_operations cifs_symlink_inode_ops; |
---|
.. | .. |
---|
101 | 103 | extern int cifs_close(struct inode *inode, struct file *file); |
---|
102 | 104 | extern int cifs_closedir(struct inode *inode, struct file *file); |
---|
103 | 105 | extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to); |
---|
| 106 | +extern ssize_t cifs_direct_readv(struct kiocb *iocb, struct iov_iter *to); |
---|
104 | 107 | extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to); |
---|
105 | 108 | extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from); |
---|
| 109 | +extern ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from); |
---|
106 | 110 | extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from); |
---|
| 111 | +extern int cifs_flock(struct file *pfile, int cmd, struct file_lock *plock); |
---|
107 | 112 | extern int cifs_lock(struct file *, int, struct file_lock *); |
---|
108 | 113 | extern int cifs_fsync(struct file *, loff_t, loff_t, int); |
---|
109 | 114 | extern int cifs_strict_fsync(struct file *, loff_t, loff_t, int); |
---|
.. | .. |
---|
144 | 149 | size_t len, unsigned int flags); |
---|
145 | 150 | |
---|
146 | 151 | extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg); |
---|
| 152 | +extern void cifs_setsize(struct inode *inode, loff_t offset); |
---|
| 153 | +extern int cifs_truncate_page(struct address_space *mapping, loff_t from); |
---|
| 154 | + |
---|
147 | 155 | #ifdef CONFIG_CIFS_NFSD_EXPORT |
---|
148 | 156 | extern const struct export_operations cifs_export_ops; |
---|
149 | 157 | #endif /* CONFIG_CIFS_NFSD_EXPORT */ |
---|
150 | 158 | |
---|
151 | | -#define CIFS_VERSION "2.13" |
---|
| 159 | +#define CIFS_VERSION "2.29" |
---|
152 | 160 | #endif /* _CIFSFS_H */ |
---|