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