svn commit: samba r9018 - in trunk/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Wed Aug 3 21:28:35 GMT 2005
Author: vlendec
Date: 2005-08-03 21:28:35 +0000 (Wed, 03 Aug 2005)
New Revision: 9018
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9018
Log:
Another paranoia check fix
Modified:
trunk/source/smbd/files.c
Changeset:
Modified: trunk/source/smbd/files.c
===================================================================
--- trunk/source/smbd/files.c 2005-08-03 21:14:01 UTC (rev 9017)
+++ trunk/source/smbd/files.c 2005-08-03 21:28:35 UTC (rev 9018)
@@ -293,8 +293,9 @@
DLIST_PROMOTE(Files, fsp);
}
/* Paranoia check. */
- if (fsp->fh->fd == -1 &&
- (fsp->oplock_type != NO_OPLOCK)) {
+ if ((fsp->fh->fd == -1) &&
+ (fsp->oplock_type != NO_OPLOCK) &&
+ (fsp->oplock_type != FAKE_LEVEL_II_OPLOCK)) {
DEBUG(0,("file_find_dif: file %s dev = %x, inode = %.0f, file_id = %u \
oplock_type = %u is a stat open with oplock type !\n", fsp->fsp_name, (unsigned int)fsp->dev,
(double)fsp->inode, (unsigned int)fsp->file_id,
More information about the samba-cvs
mailing list