diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-04 08:53:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-05 17:48:08 +0100 |
commit | fdd6c106cf236150e4c5e7c6176156230c3ccfa9 (patch) | |
tree | f10fbe031964edd15188a7861f512cf710fb8800 | |
parent | 3d6587c777408bbc1c1ecfb82750136874c5e565 (diff) | |
download | samba-fdd6c106cf236150e4c5e7c6176156230c3ccfa9.tar.gz |
s4:pvfs: remove compiler warning
metze
-rw-r--r-- | source4/ntvfs/posix/pvfs_wait.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_wait.c b/source4/ntvfs/posix/pvfs_wait.c index ddfc410becd..5552ab0d1b5 100644 --- 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); } |