This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / nfsd / export.c
index 1a53ff6..ef2d840 100644 (file)
@@ -509,9 +509,12 @@ exp_find_key(svc_client *clp, int fsid_type, u32 *fsidv, struct cache_req *reqp)
        memcpy(key.ek_fsid, fsidv, key_len(fsid_type));
 
        ek = svc_expkey_lookup(&key, 0);
-       if (ek != NULL)
-               if ((err = cache_check(&svc_expkey_cache, &ek->h, reqp)))
+       if (ek != NULL) {
+               if ((err = cache_check(&svc_expkey_cache, &ek->h, reqp))) {
+                       dprintk("exp_find_key: cache_check failed: %d\n", err);
                        ek = ERR_PTR(err);
+               }
+       }
        return ek;
 }