exporter-call-gethost-method-correctly-20081025
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 26 Oct 2008 01:45:45 +0000 (01:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 26 Oct 2008 01:45:45 +0000 (01:45 +0000)
LICENSE IPL10

actually call the correct method for EXP_GETHOST

src/afs/exporter.h

index 14f5b86..b3ca0c9 100644 (file)
@@ -107,7 +107,7 @@ struct afs_exporter {
 #define        EXP_CHECKHOST(EXP, HOST)        \
         (*(EXP)->exp_op->export_checkhost)(EXP, HOST)
 #define        EXP_GETHOST(EXP)        \
-        (*(EXP)->exp_op->export_checkhost)(EXP)
+        (*(EXP)->exp_op->export_gethost)(EXP)
 
 struct afs3_fid {
     u_short len;