Message ID | 20240826032803.4017216-1-cuigaosheng1@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] cifs: Remove obsoleted declaration for cifs_dir_open | expand |
merged into cifs-2.6.git for-next thx On Sun, Aug 25, 2024 at 10:28 PM Gaosheng Cui <cuigaosheng1@huawei.com> wrote: > > The cifs_dir_open() have been removed since > commit 737b758c965a ("[PATCH] cifs: character mapping of special > characters (part 3 of 3)"), and now it is useless, so remove it. > > Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> > --- > fs/smb/client/cifsfs.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/smb/client/cifsfs.h b/fs/smb/client/cifsfs.h > index ca2bd204bcc5..61ded59b858f 100644 > --- a/fs/smb/client/cifsfs.h > +++ b/fs/smb/client/cifsfs.h > @@ -106,7 +106,6 @@ extern int cifs_flush(struct file *, fl_owner_t id); > extern int cifs_file_mmap(struct file *file, struct vm_area_struct *vma); > extern int cifs_file_strict_mmap(struct file *file, struct vm_area_struct *vma); > extern const struct file_operations cifs_dir_ops; > -extern int cifs_dir_open(struct inode *inode, struct file *file); > extern int cifs_readdir(struct file *file, struct dir_context *ctx); > > /* Functions related to dir entries */ > -- > 2.25.1 > >
diff --git a/fs/smb/client/cifsfs.h b/fs/smb/client/cifsfs.h index ca2bd204bcc5..61ded59b858f 100644 --- a/fs/smb/client/cifsfs.h +++ b/fs/smb/client/cifsfs.h @@ -106,7 +106,6 @@ extern int cifs_flush(struct file *, fl_owner_t id); extern int cifs_file_mmap(struct file *file, struct vm_area_struct *vma); extern int cifs_file_strict_mmap(struct file *file, struct vm_area_struct *vma); extern const struct file_operations cifs_dir_ops; -extern int cifs_dir_open(struct inode *inode, struct file *file); extern int cifs_readdir(struct file *file, struct dir_context *ctx); /* Functions related to dir entries */
The cifs_dir_open() have been removed since commit 737b758c965a ("[PATCH] cifs: character mapping of special characters (part 3 of 3)"), and now it is useless, so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> --- fs/smb/client/cifsfs.h | 1 - 1 file changed, 1 deletion(-)