From 23d554cda76b861a21edd51d3bb0398c4de2b6da Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 16 Sep 2013 02:12:45 +0400 Subject: [PATCH] Use kill_block_super() in simplefs_kill_superblock() --- simple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }