Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()
commitf5a575620933d912e33ad9b1d67f331428b12912
authorJeremy Allison <jra@samba.org>
Thu, 14 Apr 2011 19:49:58 +0000 (14 12:49 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:07:28 +0000 (26 20:07 +0200)
tree3092e77cb1cb0f08c1a4b69a6db060cf26912990
parent8a5e6c3d7dc48219a100436419ec4922b1e811b0
Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()

Don't do the chown if the owner is already correct.
(cherry picked from commit 9c2ba9436d1abe66c493a512702101f631946cdf)
(cherry picked from commit 232e35b48cce6619e409ed07cd367cedd34624c3)
source3/smbd/open.c