cifs: Change SIDs in ACEs while transferring file ownership.
authorShyam Prasad N <sprasad@microsoft.com>
Thu, 18 Feb 2021 13:03:23 +0000 (13:03 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Feb 2021 03:20:44 +0000 (21:20 -0600)
commitbc3e9dd9d104ca1b75644eab87b38ce8a924aef4
tree8a38df00322e45b86df598850e4d18aca4707688
parentf5065508897a922327f32223082325d10b069ebc
cifs: Change SIDs in ACEs while transferring file ownership.

With cifsacl, when a file/dir ownership is transferred (chown/chgrp),
the ACEs in the DACL for that file will need to replace the old owner
SIDs with the new owner SID.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.c