xfs: pass current lsn to log recovery buffer validation
authorBrian Foster <bfoster@redhat.com>
Sun, 25 Sep 2016 22:32:07 +0000 (08:32 +1000)
committerDave Chinner <david@fromorbit.com>
Sun, 25 Sep 2016 22:32:07 +0000 (08:32 +1000)
commit22db9af2488655f7f841e9588d25384a5e694fa6
tree8ff1d329df680550598ee75c061c67d505237c68
parent12818d24db8ab01836bf423a7c1be639c3135572
xfs: pass current lsn to log recovery buffer validation

The current LSN must be available to the buffer validation function to
provide the ability to update the metadata LSN of the buffer. Pass the
current_lsn value down to xlog_recover_validate_buf_type() in
preparation.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_recover.c