s3: smbd: Simplify logic inside rename_internals_fsp() part 1.
authorJeremy Allison <jra@samba.org>
Thu, 10 Mar 2016 00:01:52 +0000 (16:01 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 10 Mar 2016 19:55:09 +0000 (20:55 +0100)
commitbffa598c0479b69b9b74a9093f90c8349327f8b7
treea34af30d3640835037e28fffac0e7c58b60f0501
parentb4246f863ce15865a772b0be7a949a46688bcc34
s3: smbd: Simplify logic inside rename_internals_fsp() part 1.

Use standard parent_dirname() function instead of hand-hacking
using strrchr_m(xxx, '/'). Next commit should enable removal
of synthetic_smb_fname_split().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/smbd/reply.c