diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2013-11-25 12:09:52 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-01-20 01:14:00 -0500 |
commit | cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc (patch) | |
tree | ea11e115ecfc85225e7abda30ccf75db5996f3cf /fs/cifs/cifsproto.h | |
parent | 8205d1bb31af047c6893a4f9e86ed88cf5d6113d (diff) |
cifs: Add create MFSymlinks to protocol ops struct
Add a new protocol ops function create_mf_symlink and have
create_mf_symlink() use it.
This patchset moves the MFSymlink operations completely to the
ops structure so that we only use the right protocol versions when
querying or creating MFSymlinks.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 78bb6d6ad06a..e88c3b192ef5 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -500,4 +500,8 @@ int cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, | |||
500 | struct cifs_sb_info *cifs_sb, | 500 | struct cifs_sb_info *cifs_sb, |
501 | const unsigned char *path, char *pbuf, | 501 | const unsigned char *path, char *pbuf, |
502 | unsigned int *pbytes_read); | 502 | unsigned int *pbytes_read); |
503 | int cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, | ||
504 | struct cifs_sb_info *cifs_sb, | ||
505 | const unsigned char *path, char *pbuf, | ||
506 | unsigned int *pbytes_written); | ||
503 | #endif /* _CIFSPROTO_H */ | 507 | #endif /* _CIFSPROTO_H */ |