Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition.
commit79978a4098fda2bcbcdaffc82c035548917781c8
authorJeremy Allison <jra@samba.org>
Wed, 24 Sep 2008 21:25:00 +0000 (24 14:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Sep 2008 06:58:12 +0000 (30 08:58 +0200)
tree6d2426c2fffe9e44636dfc498549515e501f9d1a
parenta251d1bf1499f2e9f717028ccd3a46ecef8928e3
Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition.
We were checking that fd != -1 in file_find_di_XXX calls which is no longer
needed due to a change in internal semantics.
Jeremy.
(cherry picked from commit 276c8395f15bc18f10d455848f7038e3465f0d52)
source/smbd/files.c