From: anserper Date: Wed, 22 Apr 2009 01:08:07 +0000 (+0000) Subject: b=16890 X-Git-Tag: v1_9_170~36 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b2fb5bc6813c46c78bbb1c3a7dc0e6e4889c9e79;p=fs%2Flustre-release.git b=16890 the missing part from a previous commit --- diff --git a/lustre/lvfs/lustre_quota_fmt.c b/lustre/lvfs/lustre_quota_fmt.c index c5599e26..6f0cb6d 100644 --- a/lustre/lvfs/lustre_quota_fmt.c +++ b/lustre/lvfs/lustre_quota_fmt.c @@ -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);