smbd: Simplify set_share_mode
authorVolker Lendecke <vl@samba.org>
Mon, 16 Sep 2013 21:02:48 +0000 (14:02 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 8 Oct 2013 21:42:40 +0000 (14:42 -0700)
commit0cc212385c4b622bb1fa5055cde87ab43de36e45
treeb504b1a5b0772fbf57ee64be54d8410a312656c1
parentb8b7e855ce1fd4bfdd06addcb824396418025dc8
smbd: Simplify set_share_mode

With the find_share_mode simplification we don't need fill_share_mode anymore.
So this coalesces add_share_mode as well.

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