Whamcloud - gitweb
b=16890
authoranserper <anserper>
Wed, 22 Apr 2009 01:08:07 +0000 (01:08 +0000)
committeranserper <anserper>
Wed, 22 Apr 2009 01:08:07 +0000 (01:08 +0000)
the missing part from a previous commit

lustre/lvfs/lustre_quota_fmt.c

index c5599e2..6f0cb6d 100644 (file)
@@ -867,7 +867,7 @@ int lustre_read_dquot(struct lustre_dquot *dquot)
                         /* We need to escape back all-zero structure */
                         if (!memcmp((char *)&fakedquot[version],
                                     ddquot, dqblk_sz))
-                                ((struct lustre_disk_dqblk_v2 *)empty)->dqb_itime = cpu_to_le64(0);
+                                ((struct lustre_disk_dqblk_v2 *)ddquot)->dqb_itime = cpu_to_le64(0);
                 }
                 set_fs(fs);
                 disk2memdqb(&dquot->dq_dqb, ddquot, version);