diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-28 02:47:46 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-02-29 03:08:53 +0100 |
commit | de870e979b1082ffd4d88350dfd4e073bd5d0789 (patch) | |
tree | 7957773e309316b07edd6a06cd885b2b9b317f86 /source3/smbd | |
parent | adac8858817c1a153fecb3b02b59cbffc23ec1cb (diff) | |
download | samba-de870e979b1082ffd4d88350dfd4e073bd5d0789.tar.gz samba-de870e979b1082ffd4d88350dfd4e073bd5d0789.tar.bz2 samba-de870e979b1082ffd4d88350dfd4e073bd5d0789.zip |
s3: Introduce "req" helper var in reply_lockingX_success
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Feb 29 03:08:53 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/blocking.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index 028adce71c..6496e43505 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -268,7 +268,9 @@ bool push_blocking_lock_request( struct byte_range_lock *br_lck, static void reply_lockingX_success(struct blocking_lock_record *blr) { - reply_outbuf(blr->req, 2, 0); + struct smb_request *req = blr->req; + + reply_outbuf(req, 2, 0); /* * As this message is a lockingX call we must handle @@ -278,8 +280,8 @@ static void reply_lockingX_success(struct blocking_lock_record *blr) * that here and must set up the chain info manually. */ - chain_reply(blr->req); - TALLOC_FREE(blr->req->outbuf); + chain_reply(req); + TALLOC_FREE(req->outbuf); } /**************************************************************************** |