Use kill_block_super() in simplefs_kill_superblock()

This commit is contained in:
Azat Khuzhin 2013-09-16 02:12:45 +04:00
parent 8382ab7e81
commit 23d554cda7

View File

@ -747,12 +747,14 @@ static struct dentry *simplefs_mount(struct file_system_type *fs_type,
return ret; return ret;
} }
static void simplefs_kill_superblock(struct super_block *s) static void simplefs_kill_superblock(struct super_block *sb)
{ {
printk(KERN_INFO printk(KERN_INFO
"simplefs superblock is destroyed. Unmount succesful.\n"); "simplefs superblock is destroyed. Unmount succesful.\n");
/* This is just a dummy function as of now. As our filesystem gets matured, /* This is just a dummy function as of now. As our filesystem gets matured,
* we will do more meaningful operations here */ * we will do more meaningful operations here */
kill_block_super(sb);
return; return;
} }