]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d206b1a1d2c2fa9fd90c7be9a52a66b55235504
tree56a7e3c944032a404a82c45693b809a4738f98f3
parent4f0be5a267ce1c80d673727864ba230cec2dd40b
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