]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/idmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm
[linux-2.6-omap-h63xx.git] / fs / nfs / idmap.c
index 8ae5dba2d4e5903a163eb4b050aa6da3ea31dc01..86147b0ab2cf752a61adc2f06c64f56aec9af53b 100644 (file)
@@ -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;