diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-11-27 09:52:04 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-12-23 22:40:17 -0600 |
commit | f9793b6fcc8ede4c2eb5f2d5816b1c8b4f927032 (patch) | |
tree | c9867f2cc8a44f1b2dda573fdb363653b13c8445 /fs/cifs/smb2pdu.c | |
parent | 4a3b38aec5778f8eb37b2eb4701baffb1da4ccd5 (diff) | |
download | linux-stable-f9793b6fcc8ede4c2eb5f2d5816b1c8b4f927032.tar.gz linux-stable-f9793b6fcc8ede4c2eb5f2d5816b1c8b4f927032.tar.bz2 linux-stable-f9793b6fcc8ede4c2eb5f2d5816b1c8b4f927032.zip |
cifs: change smb2_query_eas to use the compound query-info helper
Reducing the number of network roundtrips improves the performance
of query xattrs
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 27f86537a5d1..448031898dd4 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -2768,18 +2768,6 @@ qinf_exit: return rc; } -int SMB2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, - u64 persistent_fid, u64 volatile_fid, - int ea_buf_size, struct smb2_file_full_ea_info *data) -{ - return query_info(xid, tcon, persistent_fid, volatile_fid, - FILE_FULL_EA_INFORMATION, SMB2_O_INFO_FILE, 0, - ea_buf_size, - sizeof(struct smb2_file_full_ea_info), - (void **)&data, - NULL); -} - int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct smb2_file_all_info *data) { |