summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-28 03:39:04 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-28 03:39:04 +0000
commitbca5c727af0251c79db63a44f48bfdcc73915806 (patch)
treea95466746e90c7d497d171734ff6e770b0ad73a7
parentf822c17d35921817e19ce0d879788125f361d4b9 (diff)
downloadsamba-bca5c727af0251c79db63a44f48bfdcc73915806.tar.gz
samba-bca5c727af0251c79db63a44f48bfdcc73915806.tar.bz2
samba-bca5c727af0251c79db63a44f48bfdcc73915806.zip
there was a bug in my oplock bugfix :-)
It's fixed properly now :-) (This used to be commit a6a04b5c6cd35e4b5f4dd4522775961e6315c658)
-rw-r--r--source3/smbd/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 8a52ddef69..536e89bf18 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -2795,9 +2795,9 @@ global_oplocks_open = %d\n", timestring(), dev, inode, global_oplocks_open));
{
if(OPEN_FNUM(fnum))
{
- if((fsp->fd_ptr->dev == dev) && (fsp->fd_ptr->inode == inode) &&
- (fsp->open_time.tv_sec == tval->tv_sec) &&
- (fsp->open_time.tv_usec == tval->tv_usec)) {
+ if((Files[fnum].fd_ptr->dev == dev) && (Files[fnum].fd_ptr->inode == inode) &&
+ (Files[fnum].open_time.tv_sec == tval->tv_sec) &&
+ (Files[fnum].open_time.tv_usec == tval->tv_usec)) {
fsp = &Files[fnum];
break;
}