]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d7df51f5121561692d34190b45f9c59cb03a464
tree27cff51191e1b09aa70d96b7c14c96b36b18fc0d
parent9c65359422466ab67d7fe22088513b44bd189d3c
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