cifs: update new ACE pointer after populate_new_aces.
authorShyam Prasad N <sprasad@microsoft.com>
Wed, 10 Mar 2021 10:22:27 +0000 (10:22 +0000)
committerSteve French <stfrench@microsoft.com>
Sun, 14 Mar 2021 23:14:32 +0000 (18:14 -0500)
commit5171317dfd9afcf729799d31fffdbb9e71e45402
tree56a7e3c944032a404a82c45693b809a4738f98f3
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
cifs: update new ACE pointer after populate_new_aces.

After the fix for retaining externally set ACEs with cifsacl and
modefromsid,idsfromsid, there was an issue in populating the
inherited ACEs after setting the ACEs introduced by these two modes.
Fixed this by updating the ACE pointer again after the call to
populate_new_aces.

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