@@ -47,9 +47,12 @@ _scratch_xfs_set_metadata_field "features_ro_compat" "$ro_compat" "sb 0" \
new_ro_compat=$(_scratch_xfs_get_metadata_field "features_ro_compat" "sb 0" \
2>/dev/null)
-# verify the new ro_compat field is correct.
-if [ $new_ro_compat != $ro_compat ]; then
+# verify the new ro_compat field is correct. Without xfsprogs commit
+# f4afdcb0ad ("xfs_db: clean up the salvage read callsites in set_cur()"),
+# we can't get new_ro_compat value.
+if [ "$new_ro_compat" != "$ro_compat" ]; then
echo "Unable to set new features_ro_compat. Wanted $ro_compat, got $new_ro_compat"
+ echo "May hit a known xfsprog bug"
fi
# rw mount with unknown ro-compat feature should fail