struct obdfs_sb_info {
+ struct list_head osi_list; /* list of supers */
struct obd_conn osi_conn;
struct super_block *osi_super;
struct obd_device *osi_obd;
/* asynchronous setattr etc for the future ... */
/* flush_inodes(); */
CDEBUG(D_INODE, "about to flush pages...\n");
- /*
obdfs_flush_dirty_pages(1);
- */
CDEBUG(D_INODE, "done flushing pages...\n");
}
}
* In the future, a flush daemon will write out the page.
return 0;
*/
+ /*
rc = obdfs_flush_reqs(obdfs_slist(inode), 0, 0);
+ */
EXIT;
return rc;
} /* obdfs_add_page_to_cache */
sb->s_dev, root->i_ino, device, MINOR(devno),
blocksize, blocksize_bits);
sb->s_root = d_alloc_root(root);
+ list_add(&sbi->osi_list, &obdfs_super_list);
unlock_super(sb);
EXIT;
return sb;
sbi = (struct obdfs_sb_info *) &sb->u.generic_sbp;
OPS(sb,disconnect)(ID(sb));
-
+ list_del(&sbi->osi_list);
memset(sbi, 0, sizeof(* sbi));
printk("OBDFS: Bye bye.\n");