s3 : smbd : Protect all possible code paths from fsp->op == NULL.
commit25aacde2983eb12537bf0723ec3031d3776012d8
authorJeremy Allison <jra@samba.org>
Thu, 1 May 2014 17:58:51 +0000 (1 10:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 19 May 2014 10:20:12 +0000 (19 12:20 +0200)
tree276a410ca70efacee8abf9c7ba7d774957bece36
parentc412f6286f52e55fc9964ba8a1c25713609d3ea1
s3 : smbd : Protect all possible code paths from fsp->op == NULL.

In changes to come this will be possible for an INTERNAL_OPEN_ONLY.
The protection was already in place for some code paths, this
makes the coverage compete.

Bug 10564 - Lock order violation and file lost

https://bugzilla.samba.org/show_bug.cgi?id=10564

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