diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-22 04:19:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-22 04:19:48 +0300 |
commit | 1a4c6be4aca5ad6b300932efed1e2729fdc25af9 (patch) | |
tree | 99f43fadbc0dc6c43d275d4c7fafd3b52cccb217 /fs/nfs/idmap.c | |
parent | a62f735cbb1a0937ab6a9196dadf752694ef0b7f (diff) | |
parent | 5216a8e70e25b01cbd2915cd0442fb96deb2c262 (diff) | |
download | linux-1a4c6be4aca5ad6b300932efed1e2729fdc25af9.tar.xz |
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
Wrap buffers used for rpc debug printks into RPC_IFDEBUG
nfs: fix sparse warnings
NFS: flush signals before taking down callback thread
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r-- | fs/nfs/idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 8ae5dba2d4e5..86147b0ab2cf 100644 --- 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; |