diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2013-11-25 17:09:49 +0000 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-01-20 00:13:51 -0600 |
commit | b5be1a1c4c57a092cb60c709a0491d4ecead3d58 (patch) | |
tree | 03479ca9fadcac5f8313603b2905f7ac3d061951 /fs/cifs/cifsglob.h | |
parent | abf9767c823bf57837c2032f21332a6efc38a13e (diff) | |
download | linux-b5be1a1c4c57a092cb60c709a0491d4ecead3d58.tar.gz linux-b5be1a1c4c57a092cb60c709a0491d4ecead3d58.tar.bz2 linux-b5be1a1c4c57a092cb60c709a0491d4ecead3d58.zip |
cifs: Rename and cleanup open_query_close_cifs_symlink()
Rename open_query_close_cifs_symlink to cifs_query_mf_symlink() to make
the name more consistent with other protocol version specific functions.
We also pass tcon as an argument to the function. This is already
available in the calling functions and we can avoid having to make an
unnecessary lookup.
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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index f918a998a087..fba4d1341f88 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -370,8 +370,9 @@ struct smb_version_operations { void (*new_lease_key)(struct cifs_fid *); int (*generate_signingkey)(struct cifs_ses *); int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *); - int (*query_mf_symlink)(const unsigned char *, char *, unsigned int *, - struct cifs_sb_info *, unsigned int); + int (*query_mf_symlink)(unsigned int, struct cifs_tcon *, + struct cifs_sb_info *, const unsigned char *, + char *, unsigned int *); /* if we can do cache read operations */ bool (*is_read_op)(__u32); /* set oplock level for the inode */ |