SMB3: Backup intent flag missing from some more ops
authorAmir Goldstein <amir73il@gmail.com>
Mon, 3 Feb 2020 19:46:43 +0000 (21:46 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 3 Feb 2020 22:12:47 +0000 (16:12 -0600)
commit0f060936e490c6279dfe773d75d526d3d3d77111
tree27cff51191e1b09aa70d96b7c14c96b36b18fc0d
parent94f2630b18975bb56eee5d1a36371db967643479
SMB3: Backup intent flag missing from some more ops

When "backup intent" is requested on the mount (e.g. backupuid or
backupgid mount options), the corresponding flag was missing from
some of the operations.

Change all operations to use the macro cifs_create_options() to
set the backup intent flag if needed.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
14 files changed:
fs/cifs/cifsacl.c
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/dir.c
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/ioctl.c
fs/cifs/link.c
fs/cifs/smb1ops.c
fs/cifs/smb2inode.c
fs/cifs/smb2ops.c
fs/cifs/smb2proto.h