cifs: use existing handle for compound_op(OP_SET_INFO) when possible
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 29 Aug 2019 23:53:56 +0000 (09:53 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:37 +0000 (11:43 -0500)
commitdc9300a670aebb22e9b04b3664da6b218b29ab60
tree51a5756159b7d5dcf6d45f8345f3ef38d11de8c9
parent8de9e86c67baa71c661b9ba59a4e23210d98bc79
cifs: use existing handle for compound_op(OP_SET_INFO) when possible

If we already have a writable handle for a path we want to set the
attributes for then use that instead of a create/set-info/close compound.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2inode.c