static int mdd_lfsck_async_windows_seq_show(struct seq_file *m, void *data) { struct mdd_device *mdd = m->private; LASSERT(mdd != NULL); return lfsck_get_windows(m, mdd->mdd_bottom); }
static int lprocfs_rd_lfsck_async_windows(char *page, char **start, off_t off, int count, int *eof, void *data) { struct mdd_device *mdd = data; int rc; LASSERT(mdd != NULL); *eof = 1; rc = lfsck_get_windows(mdd->mdd_bottom, page, count); return rc != 0 ? rc : count; }