cifs: modefromsid: write mode ACE first
authorAurelien Aptel <aaptel@suse.com>
Mon, 16 Sep 2019 23:47:27 +0000 (01:47 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 23:49:11 +0000 (18:49 -0500)
commite37a02c7ebb9fa9af301c47c8c5a579cc51b509b
tree77a62d2b69486f485aca235e16d5a764ca4ff2c6
parent352f2c9a570d38bced287a273e79dccae7c5ef41
cifs: modefromsid: write mode ACE first

DACL should start with mode ACE first but we are putting it at the
end. reorder them to put it first.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.c