mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
cache bypass: don't define iovecp for UKERNEL
iovecp is defined but not used for UKERNEL. Define it conditionally to avoid gcc warnings and --enable-checking failure. Reviewed-on: http://gerrit.openafs.org/5650 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org> (cherry picked from commit 547d94edd3affb5f377cd1b3db39c46ca0cf5aec) Change-Id: I700b82173b5c2435a716aaf10541e1583f2655f5 Reviewed-on: http://gerrit.openafs.org/6316 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
e07057bbde
commit
8cc7308aaa
@ -557,7 +557,9 @@ afs_PrefetchNoCache(struct vcache *avc,
|
||||
struct nocache_read_request *bparms)
|
||||
{
|
||||
struct uio *auio;
|
||||
#ifndef UKERNEL
|
||||
struct iovec *iovecp;
|
||||
#endif
|
||||
struct vrequest *areq;
|
||||
afs_int32 code = 0;
|
||||
struct rx_connection *rxconn;
|
||||
@ -577,7 +579,9 @@ afs_PrefetchNoCache(struct vcache *avc,
|
||||
|
||||
auio = bparms->auio;
|
||||
areq = bparms->areq;
|
||||
#ifndef UKERNEL
|
||||
iovecp = auio->uio_iov;
|
||||
#endif
|
||||
|
||||
tcallspec = (struct tlocal1 *) osi_Alloc(sizeof(struct tlocal1));
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user