git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6587c
)
s4:pvfs: remove compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Feb 2009 07:53:45 +0000
(08:53 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 5 Feb 2009 16:48:08 +0000
(17:48 +0100)
metze
source4/ntvfs/posix/pvfs_wait.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_wait.c
b/source4/ntvfs/posix/pvfs_wait.c
index ddfc410becd6559f1bad1980e8097a17cd5db48f..5552ab0d1b558215aa1cb1290c249913f0945ed8 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_wait.c
+++ b/
source4/ntvfs/posix/pvfs_wait.c
@@
-78,13
+78,12
@@
static void pvfs_wait_dispatch(struct messaging_context *msg,
}
pwait->reason = PVFS_WAIT_EVENT;
- req = pwait->req;
/* the extra reference here is to ensure that the req
structure is not destroyed when the async request reply is
sent, which would cause problems with the other ntvfs
modules above us */
-
talloc_reference(msg,
req);
+
req = talloc_reference(msg, pwait->
req);
ntvfs_async_setup(pwait->req, pwait);
talloc_unlink(msg, req);
}