s3 : smbd : Protect all possible code paths from fsp->op == NULL.
commit90871a52194c8135336ae2dac185059ba9193040
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:19:52 +0000 (19 12:19 +0200)
treeee3cefda6c5f67a6eb33c6946e27b9a017af7332
parent8f0c74e860644b6eb0fc1c8d0bce0e776b053848
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/modules/vfs_btrfs.c
source3/modules/vfs_default.c
source3/smbd/aio.c
source3/smbd/scavenger.c