aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2016-09-25 22:32:50 +0000
committerDave Chinner <[email protected]>2016-09-25 22:32:50 +0000
commit040c52c0aa7c1736522676078ece0483c8596daf (patch)
tree282d2313e2900a38cfd17df9cde6b690b45aa59e /net/switchdev/switchdev.c
parentxfs: pass current lsn to log recovery buffer validation (diff)
downloadkernel-040c52c0aa7c1736522676078ece0483c8596daf.tar.gz
kernel-040c52c0aa7c1736522676078ece0483c8596daf.zip
xfs: don't warn on buffers not being recovered due to LSN
The log recovery buffer validation function is invoked in cases where a buffer update may be skipped due to LSN ordering. If the validation function happens to come across directory conversion situations (e.g., a dir3 block to data conversion), it may warn about seeing a buffer log format of one type and a buffer with a magic number of another. This warning is not valid as the buffer update is ultimately skipped. This is indicated by a current_lsn of NULLCOMMITLSN provided by the caller. As such, update xlog_recover_validate_buf_type() to only warn in such cases when a buffer update is expected. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions