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
NFS: get rid of unused xdr decode_setattr(, res) argument
[safe/jmp/linux-2.6]
/
fs
/
nfs
/
idmap.c
diff --git
a/fs/nfs/idmap.c
b/fs/nfs/idmap.c
index
8ae5dba
..
86147b0
100644
(file)
--- a/
fs/nfs/idmap.c
+++ b/
fs/nfs/idmap.c
@@
-309,7
+309,7
@@
nfs_idmap_name(struct idmap *idmap, struct idmap_hashtable *h,
mutex_lock(&idmap->idmap_im_lock);
he = idmap_lookup_id(h, id);
- if (he
!= 0
) {
+ if (he) {
memcpy(name, he->ih_name, he->ih_namelen);
ret = he->ih_namelen;
goto out;