6152 use NULL dump segop as a shorthand for no-op
@@ -1962,10 +1962,13 @@ } void segop_dump(struct seg *seg) { + if (seg->s_ops->dump == NULL) + return; + seg->s_ops->dump(seg); } int segop_pagelock(struct seg *seg, caddr_t addr, size_t len, struct page ***page,