On Thu, Aug 20, 2020 at 07:12:08PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Refactor inode timestamp encoding and decoding into helper functions so > that we can add extra behaviors in subsequent patches. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > Reviewed-by: Amir Goldstein <amir73il@xxxxxxxxx> > --- > fs/xfs/libxfs/xfs_inode_buf.c | 42 ++++++++++++++++++++++++--------------- > fs/xfs/libxfs/xfs_inode_buf.h | 5 +++++ > fs/xfs/scrub/inode.c | 25 ++++++++++++++++------- > fs/xfs/xfs_inode_item.c | 44 ++++++++++++++++++++++++++--------------- > 4 files changed, 76 insertions(+), 40 deletions(-) Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx