Whamcloud - gitweb
LU-9855 lustre: rename obd_device variables to obd
[fs/lustre-release.git] / lustre / obdecho / echo.c
index 4f069b9..f0978ad 100644 (file)
@@ -121,13 +121,13 @@ static int echo_destroy_export(struct obd_export *exp)
        RETURN(0);
 }
 
-static u64 echo_next_id(struct obd_device *obddev)
+static u64 echo_next_id(struct obd_device *obd)
 {
        u64 id;
 
-       spin_lock(&obddev->u.echo.eo_lock);
-       id = ++obddev->u.echo.eo_lastino;
-       spin_unlock(&obddev->u.echo.eo_lock);
+       spin_lock(&obd->u.echo.eo_lock);
+       id = ++obd->u.echo.eo_lastino;
+       spin_unlock(&obd->u.echo.eo_lock);
 
        return id;
 }