author: Christoph Hellwig <hch@lst.de> 2021-03-29 11:11:40 -0700
committer: Darrick J. Wong <djwong@kernel.org> 2021-04-07 14:37:03 -0700
commit: 6e73a545f91e128d8dd7da1769dca200225f5d82
parent: 13d2c10b05d8e67cb9b4c2d1d4a09a906148a72e
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c
index d27c0e852c0b..88d70c236a54 100644
--- a/fs/xfs/xfs_quotaops.c
+++ b/fs/xfs/xfs_quotaops.c
@@ -35,7 +35,7 @@ xfs_qm_fill_state(
tempqip = true;
}
tstate->flags |= QCI_SYSFILE;
- tstate->blocks = ip->i_d.di_nblocks;
+ tstate->blocks = ip->i_nblocks;
tstate->nextents = ip->i_df.if_nextents;
tstate->spc_timelimit = (u32)defq->blk.time;
tstate->ino_timelimit = (u32)defq->ino.time;