diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-18 03:28:00 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-22 09:11:25 +0200 |
commit | f8524776f1bbf2895de757438b41915a9b3d9bbc (patch) | |
tree | 76b1e3ce1befb5e4245fc02c35d6ef6abf9e9f6f /fs/cifsd/vfs.h | |
parent | ksmbd: initialize variables on the declaration (diff) | |
download | linux-f8524776f1bbf2895de757438b41915a9b3d9bbc.tar.xz linux-f8524776f1bbf2895de757438b41915a9b3d9bbc.zip |
ksmbd: remove ksmbd_vfs_copy_file_range
vfs_copy_file_range and cifs client already does this type of fallback,
so this is dead code.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r-- | fs/cifsd/vfs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/cifsd/vfs.h b/fs/cifsd/vfs.h index 5db1e9e2a754..03b877e6520b 100644 --- a/fs/cifsd/vfs.h +++ b/fs/cifsd/vfs.h @@ -218,9 +218,6 @@ int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work, unsigned int *chunk_count_written, unsigned int *chunk_size_written, loff_t *total_size_written); -int ksmbd_vfs_copy_file_range(struct file *file_in, loff_t pos_in, - struct file *file_out, loff_t pos_out, - size_t len); ssize_t ksmbd_vfs_listxattr(struct dentry *dentry, char **list); ssize_t ksmbd_vfs_getxattr(struct dentry *dentry, char *xattr_name, char **xattr_buf); |