diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-09-03 13:33:44 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-10-23 21:16:04 -0500 |
commit | ba8ca116854abe19893b8287d15c781e73e72405 (patch) | |
tree | da137f14fd3a282aa1aed46f9f3d6fbdd3ead649 /fs/cifs/smb2inode.c | |
parent | 47dd9597df41f0f5cc6d86cffbbccce2d9e3a788 (diff) | |
download | linux-ba8ca116854abe19893b8287d15c781e73e72405.tar.bz2 |
cifs: create helpers for SMB2_set_info_init/free()
so that we can use these later for compounded set-info calls.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2inode.c')
-rw-r--r-- | fs/cifs/smb2inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/smb2inode.c b/fs/cifs/smb2inode.c index 78e511c42788..a32dacd4a767 100644 --- a/fs/cifs/smb2inode.c +++ b/fs/cifs/smb2inode.c @@ -223,9 +223,9 @@ smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, (__le64 *)data, false); break; case SMB2_OP_SET_INFO: - tmprc = SMB2_set_info(xid, tcon, fid.persistent_fid, - fid.volatile_fid, - (FILE_BASIC_INFO *)data); + tmprc = SMB2_set_basic_info(xid, tcon, fid.persistent_fid, + fid.volatile_fid, + (FILE_BASIC_INFO *)data); break; default: cifs_dbg(VFS, "Invalid command\n"); |