Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / fs / afs / fsclient.c
index 911496e..61bc371 100644 (file)
@@ -59,7 +59,7 @@ int afs_rxfs_get_root_volume(struct afs_server *server,
 {
        struct rxrpc_connection *conn;
        struct rxrpc_call *call;
-       struct iovec piov[2];
+       struct kvec piov[2];
        size_t sent;
        int ret;
        u32 param[1];
@@ -189,7 +189,7 @@ int afs_rxfs_get_volume_info(struct afs_server *server,
 {
        struct rxrpc_connection *conn;
        struct rxrpc_call *call;
-       struct iovec piov[3];
+       struct kvec piov[3];
        size_t sent;
        int ret;
        u32 param[2], *bp, zero;
@@ -304,10 +304,10 @@ int afs_rxfs_fetch_file_status(struct afs_server *server,
 {
        struct afs_server_callslot callslot;
        struct rxrpc_call *call;
-       struct iovec piov[1];
+       struct kvec piov[1];
        size_t sent;
        int ret;
-       u32 *bp;
+       __be32 *bp;
 
        DECLARE_WAITQUEUE(myself, current);
 
@@ -429,10 +429,10 @@ int afs_rxfs_fetch_file_data(struct afs_server *server,
 {
        struct afs_server_callslot callslot;
        struct rxrpc_call *call;
-       struct iovec piov[1];
+       struct kvec piov[1];
        size_t sent;
        int ret;
-       u32 *bp;
+       __be32 *bp;
 
        DECLARE_WAITQUEUE(myself, current);
 
@@ -580,10 +580,10 @@ int afs_rxfs_give_up_callback(struct afs_server *server,
 {
        struct afs_server_callslot callslot;
        struct rxrpc_call *call;
-       struct iovec piov[1];
+       struct kvec piov[1];
        size_t sent;
        int ret;
-       u32 *bp;
+       __be32 *bp;
 
        DECLARE_WAITQUEUE(myself, current);
 
@@ -686,7 +686,7 @@ int afs_rxfs_lookup(struct afs_server *server,
 {
        struct rxrpc_connection *conn;
        struct rxrpc_call *call;
-       struct iovec piov[3];
+       struct kvec piov[3];
        size_t sent;
        int ret;
        u32 *bp, zero;