]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libxfs: change quota buffer formats
authorDave Chinner <dchinner@redhat.com>
Fri, 7 Jun 2013 00:25:29 +0000 (10:25 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 6 Aug 2013 16:07:08 +0000 (11:07 -0500)
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
include/xfs_quota.h

index b50ec5b95d5a89fb4b0972c1761682c27fe8cdd9..c61e31c7d99791271848205b031ddc86af2142b8 100644 (file)
@@ -77,7 +77,14 @@ typedef struct       xfs_disk_dquot {
  */
 typedef struct xfs_dqblk {
        xfs_disk_dquot_t  dd_diskdq;    /* portion that lives incore as well */
-       char              dd_fill[32];  /* filling for posterity */
+       char              dd_fill[4];   /* filling for posterity */
+
+       /*
+        * These two are only present on filesystems with the CRC bits set.
+        */
+       __be32            dd_crc;       /* checksum */
+       __be64            dd_lsn;       /* last modification in log */
+       uuid_t            dd_uuid;      /* location information */
 } xfs_dqblk_t;
 
 /*
@@ -380,5 +387,7 @@ extern int xfs_qm_dqcheck(struct xfs_mount *, xfs_disk_dquot_t *,
                                xfs_dqid_t, uint, uint, char *);
 extern int xfs_mount_reset_sbqflags(struct xfs_mount *);
 
+extern const struct xfs_buf_ops xfs_dquot_buf_ops;
+
 #endif /* __KERNEL__ */
 #endif /* __XFS_QUOTA_H__ */