git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FLAT binaries: drop BINFMT_FLAT bad header magic warning
[safe/jmp/linux-2.6]
/
fs
/
nfs
/
idmap.c
diff --git
a/fs/nfs/idmap.c
b/fs/nfs/idmap.c
index
d93e071
..
8ae5dba
100644
(file)
--- a/
fs/nfs/idmap.c
+++ b/
fs/nfs/idmap.c
@@
-74,7
+74,7
@@
module_param_call(idmap_cache_timeout, param_set_idmap_timeout, param_get_int,
struct idmap_hashent {
unsigned long ih_expires;
__u32 ih_id;
struct idmap_hashent {
unsigned long ih_expires;
__u32 ih_id;
-
int
ih_namelen;
+
size_t
ih_namelen;
char ih_name[IDMAP_NAMESZ];
};
char ih_name[IDMAP_NAMESZ];
};
@@
-193,7
+193,7
@@
idmap_lookup_id(struct idmap_hashtable *h, __u32 id)
* pretty trivial.
*/
static inline struct idmap_hashent *
* pretty trivial.
*/
static inline struct idmap_hashent *
-idmap_alloc_name(struct idmap_hashtable *h, char *name,
unsigned
len)
+idmap_alloc_name(struct idmap_hashtable *h, char *name,
size_t
len)
{
return idmap_name_hash(h, name, len);
}
{
return idmap_name_hash(h, name, len);
}
@@
-381,7
+381,7
@@
idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
struct idmap_msg im_in, *im = &idmap->idmap_im;
struct idmap_hashtable *h;
struct idmap_hashent *he = NULL;
struct idmap_msg im_in, *im = &idmap->idmap_im;
struct idmap_hashtable *h;
struct idmap_hashent *he = NULL;
-
in
t namelen_in;
+
size_
t namelen_in;
int ret;
if (mlen != sizeof(im_in))
int ret;
if (mlen != sizeof(im_in))