X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fnfs4_mount.h;h=26b4c83f831dee1adbcbca9cc1c3d378720ad419;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=9a782c2bbdd384d668e0169fccf50c2c843af325;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/linux/nfs4_mount.h b/include/linux/nfs4_mount.h index 9a782c2bb..26b4c83f8 100644 --- a/include/linux/nfs4_mount.h +++ b/include/linux/nfs4_mount.h @@ -20,7 +20,7 @@ struct nfs_string { unsigned int len; - const char* data; + const char __user * data; }; struct nfs4_mount_data { @@ -45,14 +45,14 @@ struct nfs4_mount_data { struct nfs_string hostname; /* 1 */ /* Server IP address */ unsigned int host_addrlen; /* 1 */ - struct sockaddr* host_addr; /* 1 */ + struct sockaddr __user * host_addr; /* 1 */ /* Transport protocol to use */ int proto; /* 1 */ /* Pseudo-flavours to use for authentication. See RFC2623 */ int auth_flavourlen; /* 1 */ - int *auth_flavours; /* 1 */ + int __user *auth_flavours; /* 1 */ }; /* bits in the flags field */