s3 : smbd : Protect all possible code paths from fsp->op == NULL.
authorJeremy Allison <jra@samba.org>
Thu, 1 May 2014 17:58:51 +0000 (10:58 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 2 May 2014 19:27:07 +0000 (21:27 +0200)
commitbed323cebcfcf3298002ea8bc2eb6787419043b6
treed6dbb15b6524bc7ecadcb02ced90f9f804502df5
parente8a323c73138bc132e95facfae011847e7c14aa0
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