]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Remove redundant initialisations of request rq_bytes_sent
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Sep 2013 15:28:40 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Oct 2013 22:22:11 +0000 (18:22 -0400)
commit3f46d17cd1e1bb5930124b1fffdf9f62d2f8f379
treea831008dba83fac12e3aa438226f919794e7dfa4
parent40adb4585bf508e8f7825b1873adcf62cb3a007d
SUNRPC: Remove redundant initialisations of request rq_bytes_sent

Now that we clear the rq_bytes_sent field on unlock, we don't need
to set it on lock, so we just set it once when initialising the request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c