]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor quota timestamp coding
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Nov 2020 20:12:50 +0000 (15:12 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 20:12:50 +0000 (15:12 -0500)
commit68879320b482e73e6ce202a8e680c8ab7e6a2af4
tree0339013f20d177c018fd6d3b487bebd0ad070353
parentabc0f20536e3bc1505f575f452c55585c34f6e06
xfs: refactor quota timestamp coding

Source kernel commit: 9f99c8fe551a056c0929dff13cbce62b6b150156

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_dquot_buf.c
libxfs/xfs_quota_defs.h