smbd: Use smbd_check_access_rights in reply_setatr()
authorVolker Lendecke <vl@samba.org>
Sun, 14 Apr 2019 09:39:31 +0000 (11:39 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 3 May 2019 22:34:16 +0000 (22:34 +0000)
commitd397d56717b804959367f04bbda49a5d704aa9da
tree4a804929d3eb8ea50547662b867e2330b0c34e50
parent966fc0dc604299a87e40e7170d80911475317db5
smbd: Use smbd_check_access_rights in reply_setatr()

That was the only caller of check_access outside of trans2.c, and it
passed an explicit NULL for fsp. Use the lower-level call, so we can
make check_access() static to trans2.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c