]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72150f2bd9a73ab4bcb42641981fa2df6d657730
tree8ff1d329df680550598ee75c061c67d505237c68
parent53aabbf880010d685705da6c8901204ab9d28906
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