xfs: refactor quota timestamp coding
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 17 Aug 2020 21:08:23 +0000 (14:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:40 +0000 (20:52 -0700)
commit9f99c8fe551a056c0929dff13cbce62b6b150156
treef32729ce9509c12622359288f6b2660eba8d0331
parentccc8e771aa7a80eb047fc263780816ca76dd02a6
xfs: refactor quota timestamp coding

Refactor quota timestamp encoding and decoding into helper functions so
that we can add extra behavior in the next patch.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_dquot_buf.c
fs/xfs/libxfs/xfs_quota_defs.h
fs/xfs/xfs_dquot.c