/* This is the put_super() entry in the super_operations structure for HFS filesystems. The purpose is to release the resources associated with the superblock sb.  */
static void hfs_put_super(struct super_block *sb)
/* This is the put_super() entry in the super_operations structure for HFS filesystems. The purpose is to release the resources associated with the superblock sb.  */
static void hfs_put_super(struct super_block *sb)
{
	lock_kernel();
	if (sb->s_dirt)
		hfs_write_super(sb);
	hfs_mdb_close(sb);
	hfs_mdb_put(sb);
	unlock_kernel();
}